]> granicus.if.org Git - python/commit
bpo-27456: Simplify sock type checks (#4922)
authorYury Selivanov <yury@magic.io>
Tue, 19 Dec 2017 11:44:37 +0000 (06:44 -0500)
committerGitHub <noreply@github.com>
Tue, 19 Dec 2017 11:44:37 +0000 (06:44 -0500)
commita7bd64c0c01379e9b82e86ad41a301329a0775d9
tree142cbba8e3f45cc386120bc92d5241a141f7aaf7
parent5d8624647d0b8ccb22b17b9e819a8e0c3fb4fe4a
bpo-27456: Simplify sock type checks (#4922)

Recent sock.type fix (see bug 32331) makes sock.type checks simpler
in asyncio.
Lib/asyncio/base_events.py
Lib/asyncio/selector_events.py
Lib/asyncio/unix_events.py