Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 72f25c8

Browse files
committed
Merge 3.5 (socket.__all__)
2 parents 74e3a59 + 3da5743 commit 72f25c8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Lib/socket.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -519,6 +519,7 @@ def socketpair(family=AF_INET, type=SOCK_STREAM, proto=0):
519519
finally:
520520
lsock.close()
521521
return (ssock, csock)
522+
__all__.append("socketpair")
522523

523524
socketpair.__doc__ = """socketpair([family[, type[, proto]]]) -> (socket object, socket object)
524525
Create a pair of socket objects from the sockets returned by the platform

0 commit comments

Comments
 (0)