diff options
author | Pauli Virtanen <pav@iki.fi> | 2015-03-08 20:04:49 +0200 |
---|---|---|
committer | Pauli Virtanen <pav@iki.fi> | 2015-03-08 20:04:49 +0200 |
commit | 37740a0f7868515885060f921c2fe077125e746a (patch) | |
tree | 1017e62a13ac42b5cf07127a6cab72057b9cb0a0 /numpy/lib/format.py | |
parent | f93238873553afb7be7148acf66b149f87899c13 (diff) | |
download | numpy-37740a0f7868515885060f921c2fe077125e746a.tar.gz |
STY: fold long lines
Diffstat (limited to 'numpy/lib/format.py')
-rw-r--r-- | numpy/lib/format.py | 6 |
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): |