stump in python