Skip to content

Standard library _operator module is poorly typed #15611

@jonathandung

Description

@jonathandung

The annotations for functions in the _operator module are inconsistent - some have annotations but most don't.

At first glance, most of the protocols necessary to type these incomplete signatures can be imported from _typeshed, and there is already a precedent in the stub in question.

I can work on the annotations to bridge the inconsistency, but it would be a big undertaking, so I need to get approval first.

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