summaryrefslogtreecommitdiff
path: root/numpy/lib/format.py
diff options
context:
space:
mode:
authorPauli Virtanen <pav@iki.fi>2015-03-08 20:04:49 +0200
committerPauli Virtanen <pav@iki.fi>2015-03-08 20:04:49 +0200
commit37740a0f7868515885060f921c2fe077125e746a (patch)
tree1017e62a13ac42b5cf07127a6cab72057b9cb0a0 /numpy/lib/format.py
parentf93238873553afb7be7148acf66b149f87899c13 (diff)
downloadnumpy-37740a0f7868515885060f921c2fe077125e746a.tar.gz
STY: fold long lines
Diffstat (limited to 'numpy/lib/format.py')
-rw-r--r--numpy/lib/format.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/numpy/lib/format.py b/numpy/lib/format.py
index 1ff04b68a..1a2133aa9 100644
--- a/numpy/lib/format.py
+++ b/numpy/lib/format.py
@@ -597,7 +597,8 @@ def read_array(fp, pickle_kwargs=None):
and time.
pickle_kwargs : dict
Additional keyword arguments to pass to pickle.load. These are only
- useful when loading object arrays saved on Python 2 when using Python 3.
+ useful when loading object arrays saved on Python 2 when using
+ Python 3.
Returns
-------
@@ -629,7 +630,8 @@ def read_array(fp, pickle_kwargs=None):
if sys.version_info[0] >= 3:
# Friendlier error message
raise UnicodeError("Unpickling a python object failed: %r\n"
- "You may need to pass the encoding= option to numpy.load" % (err,))
+ "You may need to pass the encoding= option "
+ "to numpy.load" % (err,))
raise
else:
if isfileobj(fp):