typed_python
typed_python copied to clipboard
Names of method types are missing the class name
If you write
class C(Class):
def f(self):
pass
print(C.MemberFunctions['f'])
the resulting type doesn't have 'C' in its name - it has the name of the function, and it knows the module, but it doesn't know that there is a class name. We either need to put 'C' in the module (which seems weird since the module doesn't exist) or make another place in Type objects to put this kind of info.