Skip to content

Names of method types are missing the class name #427

@braxtonmckee

Description

@braxtonmckee

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions