Skip to content

Commit 3b7d187

Browse files
committed
Add return
1 parent 3ea9169 commit 3b7d187

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/socket.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ def __getattr__(name):
7171
if name == "SocketType":
7272
import warnings
7373
warnings.warn(f"{name} is deprecated", DeprecationWarning)
74+
return _socket.socket
7475

7576
# Set up the socket.AF_* socket.SOCK_* constants as members of IntEnums for
7677
# nicer string representations.

0 commit comments

Comments
 (0)