summaryrefslogtreecommitdiff
path: root/numpy/doc
diff options
context:
space:
mode:
authorChunlin <fangchunlin@huawei.com>2020-04-25 23:33:48 +0800
committerGitHub <noreply@github.com>2020-04-25 10:33:48 -0500
commit6ee49178517088966e63c2aedf6a8a5779ad5384 (patch)
tree8ea96ee9757724dfb590bf359a90cd2c75196331 /numpy/doc
parent6d6df47fefdc503fbcffd8cb14a5daaa956ef220 (diff)
downloadnumpy-6ee49178517088966e63c2aedf6a8a5779ad5384.tar.gz
DOC: Add missing bracket (gh-16051)
Add missing closing brackets, script to generate the list in the PR gh-16051.
Diffstat (limited to 'numpy/doc')
-rw-r--r--numpy/doc/glossary.py2
-rw-r--r--numpy/doc/subclassing.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/numpy/doc/glossary.py b/numpy/doc/glossary.py
index 6d2e0010f..16a3b9241 100644
--- a/numpy/doc/glossary.py
+++ b/numpy/doc/glossary.py
@@ -159,7 +159,7 @@ Glossary
field
In a :term:`structured data type`, each sub-type is called a `field`.
- The `field` has a name (a string), a type (any valid dtype, and
+ The `field` has a name (a string), a type (any valid dtype), and
an optional `title`. See :ref:`arrays.dtypes`
Fortran order
diff --git a/numpy/doc/subclassing.py b/numpy/doc/subclassing.py
index 5a54ddd90..7dc10e1c8 100644
--- a/numpy/doc/subclassing.py
+++ b/numpy/doc/subclassing.py
@@ -72,7 +72,7 @@ class, that points to the data in the original.
There are other points in the use of ndarrays where we need such views,
such as copying arrays (``c_arr.copy()``), creating ufunc output arrays
(see also :ref:`array-wrap`), and reducing methods (like
-``c_arr.mean()``.
+``c_arr.mean()``).
Relationship of view casting and new-from-template
--------------------------------------------------