diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2019-03-28 15:46:16 +0100 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2019-03-28 15:46:16 +0100 |
commit | 5b491253e6952dfb1115ef43e13d1076cb5a5549 (patch) | |
tree | 95a0ead216d2449086c218e928513cecd4d48002 /Lib | |
parent | e19b28f2bd89c047b12f6a8ffb1fe793834700d3 (diff) | |
download | cpython-git-bind-socket.tar.gz |
update doc (remove ref to activestate recipe)bind-socket
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/socket.py | 2 | ||||
-rw-r--r-- | Lib/test/support/__init__.py | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/Lib/socket.py b/Lib/socket.py index 454691cc11..2e51cd16f3 100644 --- a/Lib/socket.py +++ b/Lib/socket.py @@ -777,7 +777,7 @@ def create_server(address, *, family=AF_INET, backlog=0, reuse_port=False, # 1) It's unnecessary: bind() will succeed even in case of a # previous closed socket on the same address and still in # TIME_WAIT state. - # 2) If set, another socket may be free to bind() on the same + # 2) If set, another socket is free to bind() on the same # address, effectively preventing this one from accepting # connections. Also, it may set the process in a state where # it'll no longer respond to any signals or graceful kills. diff --git a/Lib/test/support/__init__.py b/Lib/test/support/__init__.py index 792ad3e8fe..5bd15a2fea 100644 --- a/Lib/test/support/__init__.py +++ b/Lib/test/support/__init__.py @@ -2978,7 +2978,6 @@ def maybe_get_event_loop_policy(): """Return the global event loop policy if one is set, else return None.""" return asyncio.events._event_loop_policy - # Helpers for testing hashing. NHASHBITS = sys.hash_info.width # number of bits in hash() result assert NHASHBITS in (32, 64) |