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

ambv webhook-mailer at python.org
Tue Jun 7 03:43:26 EDT 2022


https://github.com/python/cpython/commit/890c3be8fb10bc329de06fa9d3b18dd8d90aa8b5
commit: 890c3be8fb10bc329de06fa9d3b18dd8d90aa8b5
branch: main
author: Evorage <owner at evorage.com>
committer: ambv <lukasz at langa.pl>
date: 2022-06-07T09:43:16+02:00
summary:

Grammar fix to socket error string (GH-93523)

files:
M Lib/socket.py

diff --git a/Lib/socket.py b/Lib/socket.py
index bfca763f72c82..0ed86afb4a9ea 100644
--- a/Lib/socket.py
+++ b/Lib/socket.py
@@ -123,7 +123,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