mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Update whatsnew/3.4.rst wrt. the socket constants switch to IntEnum
[issue #18730]
This commit is contained in:
parent
b2ff3cf0e9
commit
34567ec94b
1 changed files with 3 additions and 0 deletions
|
|
@ -320,6 +320,9 @@ Socket objects have new methods to get or set their `inheritable flag
|
|||
|
||||
* :meth:`socket.socket.get_inheritable`, :meth:`socket.socket.set_inheritable`
|
||||
|
||||
The ``socket.AF_*`` and ``socket.SOCK_*`` constants are enumeration values,
|
||||
using the new :mod:`enum` module. This allows descriptive reporting during
|
||||
debugging, instead of seeing integer "magic numbers".
|
||||
|
||||
ssl
|
||||
---
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue