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 ce4bfa6 commit 362dbabCopy full SHA for 362dbab
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.SockType
+ return _socket.socket
75
76
# Set up the socket.AF_* socket.SOCK_* constants as members of IntEnums for
77
# nicer string representations.
0 commit comments