summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Hau <vulxj0j8j8@gmail.com>2020-09-10 02:38:56 +0800
committerGitHub <noreply@github.com>2020-09-09 11:38:56 -0700
commite4630a2f5273307983b6ddca9b72aa0cf5a65784 (patch)
tree69a09a8ca474327bd2971d8321616434218c5098
parentf34c7c6b0edb8bb3044867d5984dfd607fe9f5b9 (diff)
downloadnumpy-e4630a2f5273307983b6ddca9b72aa0cf5a65784.tar.gz
Fix typo in shape_base (#17279)
concatate to concatenate
-rw-r--r--numpy/core/shape_base.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/core/shape_base.py b/numpy/core/shape_base.py
index 7a76bbf9d..e4dc30d4c 100644
--- a/numpy/core/shape_base.py
+++ b/numpy/core/shape_base.py
@@ -539,7 +539,8 @@ def _accumulate(values):
def _concatenate_shapes(shapes, axis):
"""Given array shapes, return the resulting shape and slices prefixes.
- These help in nested concatation.
+ These help in nested concatenation.
+
Returns
-------
shape: tuple of int