[Python-checkins] bpo-41983: add availability info to socket docs (GH-27519) (GH-29136)

ambv webhook-mailer at python.org
Thu Oct 21 18:07:16 EDT 2021


https://github.com/python/cpython/commit/8fd7e8965d0ff9f76401b86aec2166cc59a40637
commit: 8fd7e8965d0ff9f76401b86aec2166cc59a40637
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: ambv <lukasz at langa.pl>
date: 2021-10-22T00:07:07+02:00
summary:

bpo-41983: add availability info to socket docs (GH-27519) (GH-29136)

* 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 at gmail.com>

files:
M Doc/library/socket.rst

diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst
index b16bf22348fdf4..c69a50266f60fa 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



More information about the Python-checkins mailing list