You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/release/upcoming_changes/26081.improvement.rst
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,7 @@ with this change. It is a generic type with type parameters for
5
5
the shape and the data type. Previously, the shape type parameter could be
6
6
any value. This change restricts it to a tuple of ints, as one would expect
7
7
from using ``ndarray.shape``. Further, the shape-type parameter has been
8
-
changed from invariant to covariant. This change also applies to subpytes of
9
-
``ndarray``, e.g. ``np.ma.MaskedArray``. See the `typing docs <https://typing.readthedocs.io/en/latest/reference/generics.html#variance-of-generic-types>`_
8
+
changed from invariant to covariant. This change also applies to the subtypes
9
+
of ``ndarray``, e.g. ``numpy.ma.MaskedArray``. See the
0 commit comments