summaryrefslogtreecommitdiff
path: root/numpy/core/numeric.py
diff options
context:
space:
mode:
authorMichael Hirsch, Ph.D <scivision@users.noreply.github.com>2018-08-28 23:27:25 -0400
committerCharles Harris <charlesr.harris@gmail.com>2018-08-28 22:27:25 -0500
commitbcdd3e7e11b7bce4ed77f9f45fffa584c0f8438a (patch)
tree5347c594ae9c5b48fbdf551c5e3df8c7201c0b24 /numpy/core/numeric.py
parent77a82d77f6ccaed3bcdb779f6eaec31eb3c8b108 (diff)
downloadnumpy-bcdd3e7e11b7bce4ed77f9f45fffa584c0f8438a.tar.gz
DOC, MAINT: Fixes for errstate() and README.md documentation. (#11814)
* DOC: errstate() and AppVeyor badge link Removes outdated references to Python 2.5, which hasn't been supported for several releases. Corrected README.rst AppVeyor badge link. * revert appveyor badge link to charris
Diffstat (limited to 'numpy/core/numeric.py')
-rw-r--r--numpy/core/numeric.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/numpy/core/numeric.py b/numpy/core/numeric.py
index e5570791a..6c9baef0a 100644
--- a/numpy/core/numeric.py
+++ b/numpy/core/numeric.py
@@ -2850,16 +2850,11 @@ class errstate(object):
Notes
-----
- The ``with`` statement was introduced in Python 2.5, and can only be used
- there by importing it: ``from __future__ import with_statement``. In
- earlier Python versions the ``with`` statement is not available.
-
For complete documentation of the types of floating-point exceptions and
treatment options, see `seterr`.
Examples
--------
- >>> from __future__ import with_statement # use 'with' in Python 2.5
>>> olderr = np.seterr(all='ignore') # Set error handling to known state.
>>> np.arange(3) / 0.