abstraction in python