]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Grammar fix to socket error string (GH-93523) (GH-93560)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 7 Jun 2022 08:10:24 +0000 (01:10 -0700)
committerGitHub <noreply@github.com>
Tue, 7 Jun 2022 08:10:24 +0000 (10:10 +0200)
(cherry picked from commit 890c3be8fb10bc329de06fa9d3b18dd8d90aa8b5)

Co-authored-by: Evorage <owner@evorage.com>
Lib/socket.py

index e08fb620eb1be2264897fa48db0a486b2d99e0a0..a19652247a52937badc6eca68aca4a0156d78cca 100644 (file)
@@ -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."