diff options
author | Yury Selivanov <yselivanov@sprymix.com> | 2015-11-16 12:43:35 -0500 |
---|---|---|
committer | Yury Selivanov <yselivanov@sprymix.com> | 2015-11-16 12:43:35 -0500 |
commit | 1334f83de2e20829118226306147e05cdb8f2725 (patch) | |
tree | a5f2c0f33627af95d4c8481dfc3ea308553ccb23 /Lib/asyncio/streams.py | |
parent | a27a1e576e994a1fc6f194474dd63f1b20c0d2d4 (diff) | |
parent | 5bb1afb3322ecf370cf328d40fb95eb0a3ddab7c (diff) | |
download | cpython-git-1334f83de2e20829118226306147e05cdb8f2725.tar.gz |
Merge 3.4
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 64d10203d2..6b5e96aea2 100644 --- a/Lib/asyncio/streams.py +++ b/Lib/asyncio/streams.py @@ -302,7 +302,7 @@ class StreamWriter: if exc is not None: raise exc if self._transport is not None: - if self._transport._closing: + if self._transport.is_closing(): # Yield to the event loop so connection_lost() may be # called. Without this, _drain_helper() would return # immediately, and code that calls |