Staging: this is not the live site, pydocs.org.
Networking and Interprocess Communication
dup() -> socket object
Duplicate the socket. Return a new socket object connected to the same
system resource. The new socket is non-inheritable.
Changed in 3.4
- 3.4: The socket is now non-inheritable.