def foo():
    pass

@classmethod
def bar(cls):
    pass

def qux(self):
    pass

def close_door(self):
    pass
x = Hal()
x.foo = 'bar'
x.open_door()
Python: How can I get a list of function names from within __getattr__ function?