We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
numpy.number
1 parent 1ce463f commit 68ddb40Copy full SHA for 68ddb40
doc/release/upcoming_changes/27736.new_feature.rst
@@ -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