Skip to content

Typo in UNARY_FUNC(PyNumber_Positive) #116316

Closed
@Eclips4

Description

@Eclips4

Bug report

Bug description:

UNARY_FUNC(PyNumber_Positive, nb_positive, __pow__, "unary +")

There's should be a __pos__ instead of __pow__

CPython versions tested on:

CPython main branch

Operating systems tested on:

No response

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions