[python] How do I get list of methods in a Python class?