summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2020-07-02 19:09:09 -0500
committerGitHub <noreply@github.com>2020-07-02 19:09:09 -0500
commit3cf4c289067b6df2ddf019eed3c9f73946d960a2 (patch)
treefab576edc0921a09e887c85cfba560f67686098c
parent942add94ed3bbe479c2e6f5ca8e2a8a6d4ca4831 (diff)
parent9de802ab28252b1d1480382db96a917e7f519cfa (diff)
downloadnumpy-3cf4c289067b6df2ddf019eed3c9f73946d960a2.tar.gz
Merge pull request #16735 from WarrenWeckesser/doc-tweak
DOC: Tweak a sentence about broadcasting.
-rw-r--r--numpy/doc/broadcasting.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/doc/broadcasting.py b/numpy/doc/broadcasting.py
index 63975e6a9..4ac1fd129 100644
--- a/numpy/doc/broadcasting.py
+++ b/numpy/doc/broadcasting.py
@@ -52,8 +52,8 @@ because broadcasting moves less memory around during the multiplication
General Broadcasting Rules
==========================
When operating on two arrays, NumPy compares their shapes element-wise.
-It starts with the trailing dimensions and works its way forward. Two
-dimensions are compatible when
+It starts with the trailing (i.e. rightmost) dimensions and works its
+way left. Two dimensions are compatible when
1) they are equal, or
2) one of them is 1