From: Guido van Rossum Date: Fri, 1 Nov 2013 21:13:30 +0000 (-0700) Subject: asyncio: Fold some long lines. X-Git-Tag: v3.4.0b1~433^2~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2b430b8720f0d206491250220672d4f1d0189b5a;p=thirdparty%2FPython%2Fcpython.git asyncio: Fold some long lines. --- diff --git a/Lib/asyncio/selector_events.py b/Lib/asyncio/selector_events.py index f7bc61ac6a88..e61a88d8a56a 100644 --- a/Lib/asyncio/selector_events.py +++ b/Lib/asyncio/selector_events.py @@ -416,7 +416,8 @@ class _SelectorTransport(transports.Transport): tulip_log.exception('pause_writing() failed') def _maybe_resume_protocol(self): - if self._protocol_paused and self.get_write_buffer_size() <= self._low_water: + if (self._protocol_paused and + self.get_write_buffer_size() <= self._low_water): self._protocol_paused = False try: self._protocol.resume_writing() diff --git a/Lib/asyncio/tasks.py b/Lib/asyncio/tasks.py index 638501787f59..2a21a4b9deba 100644 --- a/Lib/asyncio/tasks.py +++ b/Lib/asyncio/tasks.py @@ -62,8 +62,9 @@ class CoroWrapper: code = func.__code__ filename = code.co_filename lineno = code.co_firstlineno - logger.error('Coroutine %r defined at %s:%s was never yielded from', - func.__name__, filename, lineno) + logger.error( + 'Coroutine %r defined at %s:%s was never yielded from', + func.__name__, filename, lineno) def coroutine(func):