Skip to content

Commit ae935d2

Browse files
authored
Merge pull request #24792 from BvB93/invariant
TYP,DOC: Document the `np.number` parameter type as invariant
2 parents 0c476bc + 46e2de0 commit ae935d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numpy/typing/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
Number precision
9494
~~~~~~~~~~~~~~~~
9595
96-
The precision of `numpy.number` subclasses is treated as a covariant generic
96+
The precision of `numpy.number` subclasses is treated as a invariant generic
9797
parameter (see :class:`~NBitBase`), simplifying the annotating of processes
9898
involving precision-based casting.
9999

0 commit comments

Comments
 (0)