summaryrefslogtreecommitdiff
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/socket.py2
-rw-r--r--Lib/test/support/__init__.py1
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)