8000
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.
1 parent 3283b46 commit c48b082Copy full SHA for c48b082
doc/release/upcoming_changes/28669.new_feature.rst
@@ -0,0 +1,3 @@
1
+* The type parameter of ``np.dtype`` now defaults to ``typing.Any``.
2
+This way, static type-checkers will infer ``dtype: np.dtype`` as
3
+``dtype: np.dtype[Any]``, without reporting an error.
0 commit comments