Skip to content

Do we generalise from bool to bool | np.bool, etc.? #1506

@cmp0xff

Description

@cmp0xff

In the stubs we usually have Sequence[bool], Sequence[int], etc. In some cases they can actually be Sequence[bool | np.bool], Sequence[int | np.integer], etc., and have been implemented in a few places.

Do we do it across the whole project?

Originally posted by @MarcoGorelli in #1505

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