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 4676d96 commit 3e85bc7Copy full SHA for 3e85bc7
Lib/socket.py
@@ -70,7 +70,7 @@
70
def __getattr__(name):
71
if name == "SocketType":
72
import warnings
73
- warnings.warn(f"{name} is deprecated", DeprecationWarning)
+ warnings._deprecated(f"{name} is deprecated", remove=(3, 16))
74
return _socket.socket
75
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
76
# Set up the socket.AF_* socket.SOCK_* constants as members of IntEnums for
0 commit comments