mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Issue #1552: socket.socketpair() now returns regular socket.socket
objects supporting the whole socket API (rather than the "raw" _socket.socket objects).
This commit is contained in:
parent
38615993b0
commit
9e0b864ac0
4 changed files with 47 additions and 0 deletions
|
@ -364,6 +364,10 @@ The module :mod:`socket` exports the following constants and functions:
|
|||
if defined on the platform; otherwise, the default is :const:`AF_INET`.
|
||||
Availability: Unix.
|
||||
|
||||
.. versionchanged:: 3.2
|
||||
The returned socket objects now support the whole socket API, rather
|
||||
than a subset.
|
||||
|
||||
|
||||
.. function:: fromfd(fd, family, type[, proto])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue