Skip to content

No stubs for wrapper/descriptor types #3064

@CraftSpider

Description

@CraftSpider

The types.py file has four types, listed below, that don't have any stubs at all. At least one of these is used in the inspect modules, and the lack of these stubs makes writing more reflection code and such quite annoying.

  • WrapperDescriptorType
  • MethodWrapperType
  • MethodDescriptorType
  • ClassMethodDescriptorType

I'd be willing to make and PR a fix, if others agree that these types should be added.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions