summaryrefslogtreecommitdiff
path: root/doc/source/reference/c-api.deprecations.rst
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2013-08-18 11:16:06 -0600
committerCharles Harris <charlesr.harris@gmail.com>2013-08-18 11:20:45 -0600
commit8ddb0ce0acafe75d78df528b4d2540dfbf4b364d (patch)
tree156b23f48f14c7c1df699874007c521b5482d1a4 /doc/source/reference/c-api.deprecations.rst
parent13b0b272f764c14bc4ac34f5b19fd030d9c611a4 (diff)
downloadnumpy-8ddb0ce0acafe75d78df528b4d2540dfbf4b364d.tar.gz
STY: Giant whitespace cleanup.
Now is as good a time as any with open PR's at a low.
Diffstat (limited to 'doc/source/reference/c-api.deprecations.rst')
-rw-r--r--doc/source/reference/c-api.deprecations.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/source/reference/c-api.deprecations.rst b/doc/source/reference/c-api.deprecations.rst
index a7960648a..a382017a2 100644
--- a/doc/source/reference/c-api.deprecations.rst
+++ b/doc/source/reference/c-api.deprecations.rst
@@ -14,14 +14,14 @@ Numarray. The core API originated with Numeric in 1995 and there are
patterns such as the heavy use of macros written to mimic Python's
C-API as well as account for compiler technology of the late 90's.
There is also only a small group of volunteers who have had very little
-time to spend on improving this API.
+time to spend on improving this API.
There is an ongoing effort to improve the API.
It is important in this effort
to ensure that code that compiles for NumPy 1.X continues to
compile for NumPy 1.X. At the same time, certain API's will be marked
as deprecated so that future-looking code can avoid these API's and
-follow better practices.
+follow better practices.
Another important role played by deprecation markings in the C API is to move
towards hiding internal details of the NumPy implementation. For those
@@ -44,7 +44,7 @@ versions of NumPy should not have major C-API changes, however, that
prevent code that worked on a previous minor release. For example, we
will do our best to ensure that code that compiled and worked on NumPy
1.4 should continue to work on NumPy 1.7 (but perhaps with compiler
-warnings).
+warnings).
To use the NPY_NO_DEPRECATED_API mechanism, you need to #define it to
the target API version of NumPy before #including any NumPy headers.