We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b7d187 commit 188a924Copy full SHA for 188a924
Lib/socket.py
@@ -71,7 +71,7 @@ def __getattr__(name):
71
if name == "SocketType":
72
import warnings
73
warnings.warn(f"{name} is deprecated", DeprecationWarning)
74
- return _socket.socket
+ return _socket.SockType
75
76
# Set up the socket.AF_* socket.SOCK_* constants as members of IntEnums for
77
# nicer string representations.
0 commit comments