Author: Andrews Medina <andrewsmed...@gmail.com> Branch: stdlib-2.7.4-fixed-io Changeset: r65805:2acd05e29823 Date: 2013-07-29 19:30 -0300 http://bitbucket.org/pypy/pypy/changeset/2acd05e29823/
Log: pep8 fix diff --git a/pypy/module/_io/interp_textio.py b/pypy/module/_io/interp_textio.py --- a/pypy/module/_io/interp_textio.py +++ b/pypy/module/_io/interp_textio.py @@ -555,7 +555,8 @@ space.wrap(self.chunk_size)) if not space.isinstance_w(w_input, space.w_str): - msg = "decoder getstate() should have returned a bytes object not '%T'" + msg = "decoder getstate() should have returned a bytes " \ + "object not '%T'" raise operationerrfmt(space.w_TypeError, msg, w_input) eof = space.len_w(w_input) == 0 @@ -865,7 +866,8 @@ w_chunk = space.call_method(self.w_buffer, "read", space.wrap(cookie.bytes_to_feed)) if not space.isinstance_w(w_chunk, space.w_str): - msg = "underlying read() should have returned a bytes object, not '%T'" + msg = "underlying read() should have returned " \ + "a bytes object, not '%T'" raise operationerrfmt(space.w_TypeError, msg, w_chunk) self.snapshot = PositionSnapshot(cookie.dec_flags, _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit