summaryrefslogtreecommitdiff
path: root/numpy/doc/misc.py
diff options
context:
space:
mode:
authorJaime <jaime.frio@gmail.com>2015-12-20 07:35:41 +0100
committerJaime <jaime.frio@gmail.com>2015-12-20 07:35:41 +0100
commit144c34b8ecd051e05a93c6268290eadb1827afb0 (patch)
treec8a1a549e5a093a9433fe9a50a6e0e8bb5358ab1 /numpy/doc/misc.py
parente2bdaccba1a8691f9223b059b981b2890bb13b09 (diff)
parent8bc592fabf4a2b0bc76db996b1523330ba095be3 (diff)
downloadnumpy-144c34b8ecd051e05a93c6268290eadb1827afb0.tar.gz
Merge pull request #6867 from gfyoung/print_fixes
DOC: No Print Statements When Using print_function from __future__
Diffstat (limited to 'numpy/doc/misc.py')
-rw-r--r--numpy/doc/misc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/doc/misc.py b/numpy/doc/misc.py
index 1709ad66d..e30caf0cb 100644
--- a/numpy/doc/misc.py
+++ b/numpy/doc/misc.py
@@ -86,7 +86,7 @@ Examples
>>> np.sqrt(np.array([-1.]))
FloatingPointError: invalid value encountered in sqrt
>>> def errorhandler(errstr, errflag):
- ... print "saw stupid error!"
+ ... print("saw stupid error!")
>>> np.seterrcall(errorhandler)
<function err_handler at 0x...>
>>> j = np.seterr(all='call')