-
-
Notifications
You must be signed in to change notification settings - Fork 11.8k
Closed
Labels
Description
Describe the issue:
The stub file for np.bool_ lacks the index method.
Reproduce the code example:
import numpy as np
import typing
typing.reveal_type(np.bool_.__index__)Error message:
No response
Python and NumPy Versions:
2.1.3
3.12.5 (main, Aug 9 2024, 13:11:04) [GCC 11.4.0]
Type-checker version and settings:
mypy 1.13
pyright 1.1.388
Additional typing packages.
No response