diff options
author | andrei kulakov <andrei.avk@gmail.com> | 2021-10-21 21:13:37 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-21 21:13:37 (GMT) |
commit | 51375388bee7287be2d942906b48c8cf3f691e8b (patch) | |
tree | ed1f913b05156b470c23bc6da3f1371a85ec6475 | |
parent | 0224b7180b280794b9fba62057b278ffb536c86f (diff) | |
download | cpython-51375388bee7287be2d942906b48c8cf3f691e8b.zip cpython-51375388bee7287be2d942906b48c8cf3f691e8b.tar.gz cpython-51375388bee7287be2d942906b48c8cf3f691e8b.tar.bz2 |
bpo-41983: add availability info to socket docs (GH-27519)
* add availability info to AF_PACKET section
* add availability for AF_QIPCRTR as well
-rwxr-xr-x | Doc/library/socket.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst index 27ad5c7..831821b 100755 --- a/Doc/library/socket.rst +++ b/Doc/library/socket.rst @@ -197,11 +197,15 @@ created. Socket addresses are represented as follows: - *addr* - Optional bytes-like object specifying the hardware physical address, whose interpretation depends on the device. + .. availability:: Linux >= 2.2. + - :const:`AF_QIPCRTR` is a Linux-only socket based interface for communicating with services running on co-processors in Qualcomm platforms. The address family is represented as a ``(node, port)`` tuple where the *node* and *port* are non-negative integers. + .. availability:: Linux >= 4.7. + .. versionadded:: 3.8 - :const:`IPPROTO_UDPLITE` is a variant of UDP which allows you to specify |