Thanks to visit codestin.com
Credit goes to github.com

Skip to content

_heapq.heapify and _heapq.heapify_max do not required type variables to annotate #15666

@jonathandung

Description

@jonathandung

In the signatures of both _heapq.heapify and _heapq.heapify_max, the _T type variable, an alias to _typeshed.SupportsRichComparisonT, can be replaced with _typeshed.SupportsRichComparison because they are used only once.

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