summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArushi Sharma <40266350+arushi-08@users.noreply.github.com>2021-10-26 16:28:04 +0530
committerGitHub <noreply@github.com>2021-10-26 16:28:04 +0530
commit76852d9694256625d4b283242c34369139785ea1 (patch)
treeb00486487239f6764e50901d13b5c1b88398b571
parent0a7a0a28874d0d1900f4b4b0fc2058afff30de76 (diff)
downloadnumpy-76852d9694256625d4b283242c34369139785ea1.tar.gz
DOC: updated file object docstring
-rw-r--r--numpy/lib/npyio.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/npyio.py b/numpy/lib/npyio.py
index 3ae9b0e63..85e26f094 100644
--- a/numpy/lib/npyio.py
+++ b/numpy/lib/npyio.py
@@ -285,7 +285,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. The file object 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