summaryrefslogtreecommitdiff
path: root/doc/source
diff options
context:
space:
mode:
authorAlban Colley <alban.colley@gmail.com>2021-11-01 04:18:08 +0000
committerGitHub <noreply@github.com>2021-10-31 21:18:08 -0700
commitc276dfb6fb5f83b4787c376539720f59b5770743 (patch)
treec4d5335842757b9d73d46dd86a867b85930b239c /doc/source
parent10460874b9f083871a846542b8b3e87c876934e0 (diff)
downloadnumpy-c276dfb6fb5f83b4787c376539720f59b5770743.tar.gz
DOC: Use np alias in absolute beginners tutorial example (#20256)
Diffstat (limited to 'doc/source')
-rw-r--r--doc/source/user/absolute_beginners.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/source/user/absolute_beginners.rst b/doc/source/user/absolute_beginners.rst
index ec4fe25a6..27e9e1f63 100644
--- a/doc/source/user/absolute_beginners.rst
+++ b/doc/source/user/absolute_beginners.rst
@@ -391,7 +391,7 @@ this array to an array with three rows and two columns::
With ``np.reshape``, you can specify a few optional parameters::
- >>> numpy.reshape(a, newshape=(1, 6), order='C')
+ >>> np.reshape(a, newshape=(1, 6), order='C')
array([[0, 1, 2, 3, 4, 5]])
``a`` is the array to be reshaped.