summaryrefslogtreecommitdiff
path: root/doc/source/glossary.rst
diff options
context:
space:
mode:
authorBen Nathanson <github@bigriver.xyz>2020-08-05 12:28:12 -0400
committermattip <matti.picus@gmail.com>2020-09-07 11:39:13 +0300
commitcef9b98cc1fd9ccd981a6d4295a7c0607669baba (patch)
treed2291a72e1f22382994f34313dd8a04d72f5b93a /doc/source/glossary.rst
parent55cd824ac52b573273eab0f85712aead8f9a5588 (diff)
downloadnumpy-cef9b98cc1fd9ccd981a6d4295a7c0607669baba.tar.gz
DOC: Fix example formatting in PR #16996
Diffstat (limited to 'doc/source/glossary.rst')
-rw-r--r--doc/source/glossary.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/source/glossary.rst b/doc/source/glossary.rst
index 9bfd0d76c..8bf7bc5fe 100644
--- a/doc/source/glossary.rst
+++ b/doc/source/glossary.rst
@@ -115,10 +115,10 @@ Glossary
>>> a = np.arange(24).reshape(2,3,4)
<BLANKLINE>
>>> a.shape
- (2,3,4)
+ (2, 3, 4)
<BLANKLINE>
>>> a[:,0,:].shape
- (2,4)
+ (2, 4)
The slice has ``a``'s shape with the X dimension deleted. Saying an
operation ``op`` is ``performed along X`` means that ``op`` takes as its