]> granicus.if.org Git - python/commit
asyncio: Fix _ProactorBasePipeTransport.__repr__()
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 15 Jan 2015 12:32:28 +0000 (13:32 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Thu, 15 Jan 2015 12:32:28 +0000 (13:32 +0100)
commit79c93ba47b1bd638989c60726eb6d9467c47308c
tree8eace3672021b1f50a534118604f2739543a90bd
parent02392c92820d8633ccf906e8c3d0fdb2fe16e5ba
asyncio: Fix _ProactorBasePipeTransport.__repr__()

Check if the _sock attribute is None to check if the transport is closed.
Lib/asyncio/proactor_events.py