Python Class Versus Function Notation Mathematics