method
Return a parametrized wrapper around the number type.
New in version 1.22.
A parametrized number type.
See also
Type hinting generics in standard collections.
>>> from typing import Any >>> import numpy as np
>>> np.signedinteger[Any] numpy.signedinteger[typing.Any]
© 2005–2024 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/2.4/reference/generated/numpy.number.__class_getitem__.html