summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-10-21 15:07:38 -0700
committerGitHub <noreply@github.com>2021-10-22 00:07:38 +0200
commitb26eae54e98f44eebc1599ca458228dae0568ffa (patch)
tree9c1816c9133f9742367ef04ee41c4c97bf48815a
parent04485ac9886cd807aae854fb905a88c791cfdde6 (diff)
downloadcpython-git-b26eae54e98f44eebc1599ca458228dae0568ffa.tar.gz
bpo-41983: add availability info to socket docs (GH-27519) (GH-29137)
* add availability info to AF_PACKET section * add availability for AF_QIPCRTR as well (cherry picked from commit 51375388bee7287be2d942906b48c8cf3f691e8b) Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
-rwxr-xr-xDoc/library/socket.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst
index bc8723a90d..db94a2a124 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