We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06a19d6 commit 3404a2cCopy full SHA for 3404a2c
doc/release/upcoming_changes/15217.deprecation.rst
@@ -1,11 +1,13 @@
1
Passing ``shape=0`` to factory functions in ``numpy.rec`` is deprecated
2
-----------------------------------------------------------------------
3
4
-``0`` is treated as a special case by these functions, which aliases to
5
-``None``. In future, ``0`` will not be a special case, and will be treated
6
-as an array length like any other integer is. The affected functions are:
+``0`` is treated as a special case and is aliased to ``None`` in the functions:
7
8
* `numpy.core.records.fromarrays`
9
* `numpy.core.records.fromrecords`
10
* `numpy.core.records.fromstring`
11
* `numpy.core.records.fromfile`
+
+In future, ``0`` will not be special cased, and will be treated as an array
12
+length like any other integer.
13
0 commit comments