Fix issue #17996: expose socket.AF_LINK constant on BSD and OSX.

This commit is contained in:
Giampaolo Rodola' 2013-05-21 21:02:04 +02:00
parent b3a579223e
commit 80e1c43ddf
3 changed files with 10 additions and 0 deletions

View file

@ -293,6 +293,11 @@ The module :mod:`socket` exports the following constants and functions:
TIPC related constants, matching the ones exported by the C socket API. See
the TIPC documentation for more information.
.. data:: AF_LINK
Availability: BSD, OSX.
.. versionadded:: 3.4
.. data:: has_ipv6