Skip to content

Commit 5c8e7bc

Browse files
authored
Phrasing change in socket.py in WSA error codes.
1 parent f3b74d6 commit 5c8e7bc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Lib/socket.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def _intenum_converter(value, enum_klass):
123123
10004: "The operation was interrupted.",
124124
10009: "A bad file handle was passed.",
125125
10013: "Permission denied.",
126-
10014: "A fault occurred on the network??",
126+
10014: "An invalid pointer was passed.",
127127
10022: "An invalid operation was attempted.",
128128
10024: "Too many open files.",
129129
10035: "The socket operation would block.",
@@ -181,7 +181,7 @@ def _intenum_converter(value, enum_klass):
181181
11001: "Host not found.",
182182
11002: "Nonauthoritative host not found.",
183183
11003: "This is a nonrecoverable error.",
184-
11004: "Valid name, no data record requested type.",
184+
11004: "Valid name, no data record of requested type.",
185185
11005: "QoS receivers.",
186186
11006: "QoS senders.",
187187
11007: "No QoS senders.",
@@ -197,7 +197,7 @@ def _intenum_converter(value, enum_klass):
197197
11017: "QoS flowspec error.",
198198
11018: "Invalid QoS provider buffer.",
199199
11019: "Invalid QoS filter style.",
200-
11020: "Invalid QoS filter style.",
200+
11020: "Invalid QoS filter type.",
201201
11021: "Incorrect QoS filter count.",
202202
11022: "Invalid QoS object length.",
203203
11023: "Incorrect QoS flow count.",

0 commit comments

Comments
 (0)