Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions Doc/library/socket.rst
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,18 @@ The AF_* and SOCK_* constants are now :class:`AddressFamily` and

.. versionadded:: 3.4

.. class:: AddressFamily

An :class:`.IntEnum` collection whose members are the ``AF_*`` address
family constants. This class can be used in type annotations and
documentation cross-references.

.. class:: SocketKind

An :class:`.IntEnum` collection whose members are the ``SOCK_*`` socket
type constants. This class can be used in type annotations and
documentation cross-references.

.. data:: AF_UNIX
AF_INET
AF_INET6
Expand Down
Loading