From 2e8ac9c9c1179ea7a5bea9faf5ab23a93c6f749f Mon Sep 17 00:00:00 2001 From: Taylor Smith Date: Wed, 8 Aug 2018 10:01:34 -0500 Subject: DOC: Replace with ValueError Replaced with ValueError in the outdated broadcasting documentation --- numpy/doc/broadcasting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy') 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 - : 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) -- cgit v1.2.1