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 3ea9169 commit 3b7d187Copy full SHA for 3b7d187
Lib/socket.py
@@ -71,6 +71,7 @@ def __getattr__(name):
71
if name == "SocketType":
72
import warnings
73
warnings.warn(f"{name} is deprecated", DeprecationWarning)
74
+ 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