summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-06-07 08:10:24 (GMT)
committerGitHub <noreply@github.com>2022-06-07 08:10:24 (GMT)
commit008bcdec117548f88b97cf1987286b2bf92a69fc (patch)
tree0ac05d057e63fcffd0b0313c15c07f1fec31865e
parente139dee1f7055acdbf192abe4eb539e8df49786f (diff)
downloadcpython-008bcdec117548f88b97cf1987286b2bf92a69fc.zip
cpython-008bcdec117548f88b97cf1987286b2bf92a69fc.tar.gz
cpython-008bcdec117548f88b97cf1987286b2bf92a69fc.tar.bz2
Grammar fix to socket error string (GH-93523) (GH-93560)
(cherry picked from commit 890c3be8fb10bc329de06fa9d3b18dd8d90aa8b5) Co-authored-by: Evorage <owner@evorage.com>
-rw-r--r--Lib/socket.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/socket.py b/Lib/socket.py
index e08fb62..a196522 100644
--- a/Lib/socket.py
+++ b/Lib/socket.py
@@ -122,7 +122,7 @@ if sys.platform.lower().startswith("win"):
errorTab[10014] = "A fault occurred on the network??" # WSAEFAULT
errorTab[10022] = "An invalid operation was attempted."
errorTab[10024] = "Too many open files."
- errorTab[10035] = "The socket operation would block"
+ errorTab[10035] = "The socket operation would block."
errorTab[10036] = "A blocking operation is already in progress."
errorTab[10037] = "Operation already in progress."
errorTab[10038] = "Socket operation on nonsocket."