summaryrefslogtreecommitdiff
path: root/numpy/doc/broadcasting.py
diff options
context:
space:
mode:
authorTaylor Smith <tgsmith61591@gmail.com>2018-08-08 10:01:34 -0500
committerTaylor Smith <tgsmith61591@gmail.com>2018-08-08 10:01:34 -0500
commit2e8ac9c9c1179ea7a5bea9faf5ab23a93c6f749f (patch)
tree7edefca638d7b75e7d59e446b8ebf571ba15a638 /numpy/doc/broadcasting.py
parent294ee03d31b11ca1eceb8ae7a4c330b4f6ef213b (diff)
downloadnumpy-2e8ac9c9c1179ea7a5bea9faf5ab23a93c6f749f.tar.gz
DOC: Replace <type 'exceptions.ValueError'> with ValueError
Replaced <type 'exceptions.ValueError'> with ValueError in the outdated broadcasting documentation
Diffstat (limited to 'numpy/doc/broadcasting.py')
-rw-r--r--numpy/doc/broadcasting.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/doc/broadcasting.py b/numpy/doc/broadcasting.py
index 73fd2cdc3..6c3a4bc75 100644
--- a/numpy/doc/broadcasting.py
+++ b/numpy/doc/broadcasting.py
@@ -125,7 +125,7 @@ An example of broadcasting in practice::
(5,)
>>> x + y
- <type 'exceptions.ValueError'>: operands could not be broadcast together with shapes (4,) (5,)
+ ValueError: operands could not be broadcast together with shapes (4,) (5,)
>>> xx.shape
(4, 1)