diff options
| author | Yury Selivanov <yselivanov@sprymix.com> | 2015-11-16 17:43:46 (GMT) |
|---|---|---|
| committer | Yury Selivanov <yselivanov@sprymix.com> | 2015-11-16 17:43:46 (GMT) |
| commit | efbee31b4733c83b7358cce0ed49312f8df92608 (patch) | |
| tree | ad3377b237ae8c0de010235d212931b7f95eb4b7 /Lib/asyncio/streams.py | |
| parent | 0f53f2b1e59d68dc063ed67a0d192b4ef4b9ffcb (diff) | |
| parent | 1334f83de2e20829118226306147e05cdb8f2725 (diff) | |
| download | cpython-efbee31b4733c83b7358cce0ed49312f8df92608.zip cpython-efbee31b4733c83b7358cce0ed49312f8df92608.tar.gz cpython-efbee31b4733c83b7358cce0ed49312f8df92608.tar.bz2 | |
Merge 3.5
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 64d1020..6b5e96a 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 |
