Skip to content

Commit 68ddb40

Browse files
committed
DOC: Add release note for optional numpy.number type parameters
1 parent 1ce463f commit 68ddb40

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
* The "nbit" type parameter of ``np.number`` and its subtypes now defaults
2+
to ``typing.Any``. This way, type-checkers will infer annotations such as
3+
``x: np.floating`` as ``x: np.floating[Any]``, even in strict mode.

0 commit comments

Comments
 (0)