Skip to content

PEP 484: NewType is now a class, not a function #2199

@Fidget-Spinner

Description

@Fidget-Spinner

Since Python 3.10, we've changed PEP 484's NewType to a class, not a function, so this section is misleading.

Should we update it? Or do we leave it as is?

CC @JelleZijlstra and @gvanrossum

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