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 4d71bce commit 347c8e3Copy full SHA for 347c8e3
Lib/socket.py
@@ -69,7 +69,7 @@
69
70
def __getattr__(name):
71
if name == "SocketType":
72
- return _socket.socket
+ return _socket.SocketType
73
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
74
75
# Set up the socket.AF_* socket.SOCK_* constants as members of IntEnums for
0 commit comments