summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2013-05-31 19:55:43 +0200
committerSebastian Berg <sebastian@sipsolutions.net>2013-06-09 17:00:41 +0200
commit187f128563da83b8f202264658dc4dfa80899e93 (patch)
tree90707a0f7ec21f1a6cdfc1b193f27f38240ea138 /numpy
parent3a340b0db0e5629543efabdfacd54abf9f4148e7 (diff)
downloadnumpy-187f128563da83b8f202264658dc4dfa80899e93.tar.gz
DOC: Add integer deprecations to release notes
(also minor spelling fix in comments)
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/tests/test_deprecations.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/tests/test_deprecations.py b/numpy/core/tests/test_deprecations.py
index 8948291a3..3ad264583 100644
--- a/numpy/core/tests/test_deprecations.py
+++ b/numpy/core/tests/test_deprecations.py
@@ -126,7 +126,7 @@ class TestFloatNonIntegerArgumentDeprecation(_DeprecationTestCase):
in PyArray_PyIntAsIntp and possibly PyArray_IntpConverter.
In iterators.c the function slice_GetIndices could be removed in favor
of its python equivalent and in mapping.c the function _tuple_of_integers
- can be simplified (iff ``np.array([1]).__index__()`` is also deprecated).
+ can be simplified (if ``np.array([1]).__index__()`` is also deprecated).
As for the deprecation time-frame: via Ralf Gommers,
@@ -287,4 +287,4 @@ class TestArrayToIndexDeprecation(_DeprecationTestCase):
if __name__ == "__main__":
- run_module_suite() \ No newline at end of file
+ run_module_suite()