summaryrefslogtreecommitdiff
path: root/doc/source/reference
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2021-05-19 14:59:49 -0600
committerGitHub <noreply@github.com>2021-05-19 14:59:49 -0600
commite108c76f870c94d5fd2f50126cc40cb1258d89e3 (patch)
treecf6824fad3acf86b66c65530a2cb99595bedb5a8 /doc/source/reference
parent319a2997236332ac83bc5eddeb80d8c4121be2d5 (diff)
parent2b7b2561f3c6c6fb0c80fed4ee503647636f14bc (diff)
downloadnumpy-e108c76f870c94d5fd2f50126cc40cb1258d89e3.tar.gz
Merge pull request #18676 from seberg/new-promotion-partial-weak-scalars
MAINT: Implement new style promotion for `np.result_type`, etc.
Diffstat (limited to 'doc/source/reference')
-rw-r--r--doc/source/reference/global_state.rst14
-rw-r--r--doc/source/reference/ufuncs.rst2
2 files changed, 1 insertions, 15 deletions
diff --git a/doc/source/reference/global_state.rst b/doc/source/reference/global_state.rst
index b59467210..f18481235 100644
--- a/doc/source/reference/global_state.rst
+++ b/doc/source/reference/global_state.rst
@@ -84,17 +84,3 @@ contiguous in memory.
Most users will have no reason to change these; for details
see the :ref:`memory layout <memory-layout>` documentation.
-Using the new casting implementation
-------------------------------------
-
-Within NumPy 1.20 it is possible to enable the new experimental casting
-implementation for testing purposes. To do this set::
-
- NPY_USE_NEW_CASTINGIMPL=1
-
-Setting the flag is only useful to aid with NumPy developement to ensure the
-new version is bug free and should be avoided for production code.
-It is a helpful test for projects that either create custom datatypes or
-use for example complicated structured dtypes. The flag is expected to be
-removed in 1.21 with the new version being always in use.
-
diff --git a/doc/source/reference/ufuncs.rst b/doc/source/reference/ufuncs.rst
index 27ebf8d1b..3eae4e159 100644
--- a/doc/source/reference/ufuncs.rst
+++ b/doc/source/reference/ufuncs.rst
@@ -266,7 +266,7 @@ can generate this table for your system with the code given in the Figure.
S - - - - - - - - - - - - - - - - - - - - Y Y Y Y - -
U - - - - - - - - - - - - - - - - - - - - - Y Y Y - -
V - - - - - - - - - - - - - - - - - - - - - - Y Y - -
- O - - - - - - - - - - - - - - - - - - - - - - Y Y - -
+ O - - - - - - - - - - - - - - - - - - - - - - - Y - -
M - - - - - - - - - - - - - - - - - - - - - - Y Y Y -
m - - - - - - - - - - - - - - - - - - - - - - Y Y - Y