[Python-checkins] cpython: Fix typo in asyncio/streams.py.
guido.van.rossum
python-checkins at python.org
Wed Jan 8 02:03:33 CET 2014
http://hg.python.org/cpython/rev/a9bffe9bdeab
changeset: 88349:a9bffe9bdeab
user: Guido van Rossum <guido at python.org>
date: Tue Jan 07 17:03:26 2014 -0800
summary:
Fix typo in asyncio/streams.py.
files:
Lib/asyncio/streams.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/asyncio/streams.py b/Lib/asyncio/streams.py
--- a/Lib/asyncio/streams.py
+++ b/Lib/asyncio/streams.py
@@ -199,7 +199,7 @@
drained and the protocol is resumed.
"""
if self._reader._exception is not None:
- raise self._writer._exception
+ raise self._reader._exception
if self._transport._conn_lost: # Uses private variable.
raise ConnectionResetError('Connection lost')
if not self._protocol._paused:
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list