Python Dot Operator Method Call