diff options
author | Guido van Rossum <guido@python.org> | 2014-01-07 17:03:26 -0800 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2014-01-07 17:03:26 -0800 |
commit | 6188bd498fd22582e44f323895f0f89dec50f0b8 (patch) | |
tree | 1dbf574e9265b46b6d86c74d674694f4ae44e84d /Lib/asyncio/streams.py | |
parent | df7c22b25b1e7c2138771020d06f61d8d038812c (diff) | |
download | cpython-git-6188bd498fd22582e44f323895f0f89dec50f0b8.tar.gz |
Fix typo in asyncio/streams.py.
Diffstat (limited to 'Lib/asyncio/streams.py')
-rw-r--r-- | Lib/asyncio/streams.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/asyncio/streams.py b/Lib/asyncio/streams.py index 93a21d1af7..7eda5f6632 100644 --- a/Lib/asyncio/streams.py +++ b/Lib/asyncio/streams.py @@ -199,7 +199,7 @@ class StreamWriter: 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: |