summaryrefslogtreecommitdiff
path: root/numpy/lib/npyio.py
diff options
context:
space:
mode:
authorOscar Gustafsson <oscar.gustafsson@gmail.com>2022-04-03 19:30:21 +0200
committerOscar Gustafsson <oscar.gustafsson@gmail.com>2022-04-03 21:49:47 +0200
commitf404e9e92e87a3990712d723d5c562a89300ac01 (patch)
tree1ab9eb466d4cc608f90f07374eaf67f01584e380 /numpy/lib/npyio.py
parent37bbfc9012ea46427143c0aa865d4cc7d8c94b9a (diff)
downloadnumpy-f404e9e92e87a3990712d723d5c562a89300ac01.tar.gz
Add space after argument name
Diffstat (limited to 'numpy/lib/npyio.py')
-rw-r--r--numpy/lib/npyio.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/numpy/lib/npyio.py b/numpy/lib/npyio.py
index 90424aab4..33b49127c 100644
--- a/numpy/lib/npyio.py
+++ b/numpy/lib/npyio.py
@@ -287,7 +287,7 @@ def load(file, mmap_mode=None, allow_pickle=False, fix_imports=True,
----------
file : file-like object, string, or pathlib.Path
The file to read. File-like objects must support the
- ``seek()`` and ``read()`` methods and must always
+ ``seek()`` and ``read()`` methods and must always
be opened in binary mode. Pickled files require that the
file-like object support the ``readline()`` method as well.
mmap_mode : {None, 'r+', 'r', 'w+', 'c'}, optional
@@ -737,9 +737,9 @@ def _ensure_ndmin_ndarray(a, *, ndmin: int):
"""This is a helper function of loadtxt and genfromtxt to ensure
proper minimum dimension as requested
- ndim: int. Supported values 1, 2, 3
- ^^ whenever this changes, keep in sync with
- _ensure_ndmin_ndarray_check_param
+ ndim : int. Supported values 1, 2, 3
+ ^^ whenever this changes, keep in sync with
+ _ensure_ndmin_ndarray_check_param
"""
# Verify that the array has at least dimensions `ndmin`.
# Tweak the size and shape of the arrays - remove extraneous dimensions