summaryrefslogtreecommitdiff
path: root/numpy/core/numeric.py
diff options
context:
space:
mode:
authorMatthias Bussonnier <bussonniermatthias@gmail.com>2021-01-27 17:43:33 -0800
committerMatthias Bussonnier <bussonniermatthias@gmail.com>2021-01-27 17:52:30 -0800
commitf305d5962614e98eea5d10a2140eee7e16ab9aca (patch)
tree2c86ecbfe79e29188fc040e19d762e16b1d08005 /numpy/core/numeric.py
parent11a8f8d7dba0eb7b0bc31f74bec659e2e497abfd (diff)
downloadnumpy-f305d5962614e98eea5d10a2140eee7e16ab9aca.tar.gz
DOC: Misc numpydoc format fixes
Via prototype docstring autoreformatter; and cherry-picked to mostly include spacing issues around colons in parameters and see also. When no space is present numpydoc tend to miss-parse those sections A couple of typos are fixed as well.
Diffstat (limited to 'numpy/core/numeric.py')
-rw-r--r--numpy/core/numeric.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/numpy/core/numeric.py b/numpy/core/numeric.py
index e776bd43b..086439656 100644
--- a/numpy/core/numeric.py
+++ b/numpy/core/numeric.py
@@ -1427,12 +1427,11 @@ def moveaxis(a, source, destination):
See Also
--------
- transpose: Permute the dimensions of an array.
- swapaxes: Interchange two axes of an array.
+ transpose : Permute the dimensions of an array.
+ swapaxes : Interchange two axes of an array.
Examples
--------
-
>>> x = np.zeros((3, 4, 5))
>>> np.moveaxis(x, 0, -1).shape
(4, 5, 3)