[Python-checkins] cpython (merge 3.5 -> default): Merge 3.5 (socket.__all__)
victor.stinner
python-checkins at python.org
Wed Aug 17 10:14:20 EDT 2016
https://hg.python.org/cpython/rev/83398d643f34
changeset: 102729:83398d643f34
parent: 102727:2fce793ec0a2
parent: 102728:ac2bc921169c
user: Victor Stinner <victor.stinner at gmail.com>
date: Wed Aug 17 14:40:45 2016 +0200
summary:
Merge 3.5 (socket.__all__)
files:
Lib/socket.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Lib/socket.py b/Lib/socket.py
--- a/Lib/socket.py
+++ b/Lib/socket.py
@@ -519,6 +519,7 @@
finally:
lsock.close()
return (ssock, csock)
+ __all__.append("socketpair")
socketpair.__doc__ = """socketpair([family[, type[, proto]]]) -> (socket object, socket object)
Create a pair of socket objects from the sockets returned by the platform
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list