[python] Finding what methods a Python object has