[Python-checkins] Grammar fix to socket error string (GH-93523) (GH-93560)

ambv webhook-mailer at python.org
Tue Jun 7 04:10:29 EDT 2022


https://github.com/python/cpython/commit/008bcdec117548f88b97cf1987286b2bf92a69fc
commit: 008bcdec117548f88b97cf1987286b2bf92a69fc
branch: 3.11
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: ambv <lukasz at langa.pl>
date: 2022-06-07T10:10:24+02:00
summary:

Grammar fix to socket error string (GH-93523) (GH-93560)

(cherry picked from commit 890c3be8fb10bc329de06fa9d3b18dd8d90aa8b5)

Co-authored-by: Evorage <owner at evorage.com>

files:
M Lib/socket.py

diff --git a/Lib/socket.py b/Lib/socket.py
index e08fb620eb1be..a19652247a529 100644
--- a/Lib/socket.py
+++ b/Lib/socket.py
@@ -122,7 +122,7 @@ def _intenum_converter(value, enum_klass):
     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."



More information about the Python-checkins mailing list