summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2021-01-26 13:07:42 -0600
committerGitHub <noreply@github.com>2021-01-26 13:07:42 -0600
commit7114776a08363a24ae46ea16d659b7b0cdd0c650 (patch)
tree8398e1e5f8e5c604e621065afc358832eda50748 /doc
parent08c036c50be6f9bd45b5f07ccc7eca0bfdc77164 (diff)
downloadnumpy-7114776a08363a24ae46ea16d659b7b0cdd0c650.tar.gz
Apply suggestions from code review
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/source/release/1.20.0-notes.rst7
1 files changed, 3 insertions, 4 deletions
diff --git a/doc/source/release/1.20.0-notes.rst b/doc/source/release/1.20.0-notes.rst
index aab5b34a9..453946390 100644
--- a/doc/source/release/1.20.0-notes.rst
+++ b/doc/source/release/1.20.0-notes.rst
@@ -115,7 +115,7 @@ following alternatives:
This ensures that results cannot depend on the computer or operating system.
* ``np.int_`` or ``int`` (the default), but be aware that it depends on
the computer and operating system.
-* The C types: ``np.cint`` (int), ``np.int_`` (long), ``np.longlong``,
+* The C types: ``np.cint`` (int), ``np.int_`` (long), ``np.longlong``.
* ``np.intp`` which is 32bit on 32bit machines 64bit on 64bit machines.
This can be the best type to use for indexing.
@@ -127,8 +127,8 @@ If used as a scalar with::
changing it can subtly change the result. In this case, the Python version
``float(123)`` or ``int(12.)`` is normally preferable, although the NumPy
-version may be useful for consistency with NumPy arrays. For example, since
-NumPy behaves differently for things like division by zero.
+version may be useful for consistency with NumPy arrays (for example,
+NumPy behaves differently for things like division by zero).
(`gh-14882 <https://github.com/numpy/numpy/pull/14882>`__)
@@ -1000,4 +1000,3 @@ The former result can still be obtained with::
(`gh-16841 <https://github.com/numpy/numpy/pull/16841>`__)
-