diff options
author | Matti Picus <matti.picus@gmail.com> | 2018-09-12 14:27:53 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-12 14:27:53 +0300 |
commit | 99f7ad58fcfa3d09897426e468a66840026dbce8 (patch) | |
tree | 7d5589e40245cce5c69dcd6938a60a514ae7e81c /doc/release | |
parent | 371cc4d604a58d01cc4f1057c8741620a7edca6f (diff) | |
parent | fdd0ee22a099186ce99889b0c2e516a05208df3e (diff) | |
download | numpy-99f7ad58fcfa3d09897426e468a66840026dbce8.tar.gz |
Merge pull request #11929 from derek-kim/master
DOC: #defining -> #define / Added a short explanation for Numeric
Diffstat (limited to 'doc/release')
-rw-r--r-- | doc/release/1.7.0-notes.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/release/1.7.0-notes.rst b/doc/release/1.7.0-notes.rst index 09e6924e6..f111f80dc 100644 --- a/doc/release/1.7.0-notes.rst +++ b/doc/release/1.7.0-notes.rst @@ -280,9 +280,9 @@ The macros in old_defines.h are deprecated and will be removed in the next major release (>= 2.0). The sed script tools/replace_old_macros.sed can be used to replace these macros with the newer versions. -You can test your code against the deprecated C API by #defining -NPY_NO_DEPRECATED_API to the target version number, for example -NPY_1_7_API_VERSION, before including any NumPy headers. +You can test your code against the deprecated C API by adding a line +composed of ``#define NPY_NO_DEPRECATED_API`` and the target version number, +such as ``NPY_1_7_API_VERSION``, before including any NumPy headers. The ``NPY_CHAR`` member of the ``NPY_TYPES`` enum is deprecated and will be removed in NumPy 1.8. See the discussion at |