abstraction in Python