diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-01-08 23:09:10 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-01-08 23:09:10 (GMT) |
commit | 15cc678d8971f5ee1a7ea5e88bcd22413601f033 (patch) | |
tree | ea7e29de0dc1817be74197a19db93957fe3459bf /Lib/asyncio/windows_utils.py | |
parent | 8d9c145f61d43fb9d43ad43c04744ffd32c93d8c (diff) | |
download | cpython-15cc678d8971f5ee1a7ea5e88bcd22413601f033.zip cpython-15cc678d8971f5ee1a7ea5e88bcd22413601f033.tar.gz cpython-15cc678d8971f5ee1a7ea5e88bcd22413601f033.tar.bz2 |
asyncio: Truncate to 80 columns
Diffstat (limited to 'Lib/asyncio/windows_utils.py')
-rw-r--r-- | Lib/asyncio/windows_utils.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Lib/asyncio/windows_utils.py b/Lib/asyncio/windows_utils.py index c6e4bc9..b475812 100644 --- a/Lib/asyncio/windows_utils.py +++ b/Lib/asyncio/windows_utils.py @@ -36,15 +36,16 @@ else: def socketpair(family=socket.AF_INET, type=socket.SOCK_STREAM, proto=0): """A socket pair usable as a self-pipe, for Windows. - Origin: https://gist.github.com/4325783, by Geert Jansen. Public domain. + Origin: https://gist.github.com/4325783, by Geert Jansen. + Public domain. """ if family == socket.AF_INET: host = '127.0.0.1' elif family == socket.AF_INET6: host = '::1' else: - raise ValueError("Only AF_INET and AF_INET6 socket address families " - "are supported") + raise ValueError("Only AF_INET and AF_INET6 socket address " + "families are supported") if type != socket.SOCK_STREAM: raise ValueError("Only SOCK_STREAM socket type is supported") if proto != 0: |