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 3e85bc7 commit da2aabeCopy full SHA for da2aabe
Lib/socket.py
@@ -70,7 +70,7 @@
70
def __getattr__(name):
71
if name == "SocketType":
72
import warnings
73
- warnings._deprecated(f"{name} is deprecated", remove=(3, 16))
+ warnings._deprecated(name, 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