summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/3.6.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2023-07-21 09:40:37 (GMT)
committerGitHub <noreply@github.com>2023-07-21 09:40:37 (GMT)
commit4b9948617f91175783609769aa6160e5b49b9ccc (patch)
tree70ee26c5370423240516d52536ae9c23f64245c5 /Doc/whatsnew/3.6.rst
parentd036db728ea3d54509cbad06df74e2d9a31fbec8 (diff)
downloadcpython-4b9948617f91175783609769aa6160e5b49b9ccc.zip
cpython-4b9948617f91175783609769aa6160e5b49b9ccc.tar.gz
cpython-4b9948617f91175783609769aa6160e5b49b9ccc.tar.bz2
gh-106909: Use role :const: for referencing module constants (GH-106910)
Diffstat (limited to 'Doc/whatsnew/3.6.rst')
-rw-r--r--Doc/whatsnew/3.6.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/whatsnew/3.6.rst b/Doc/whatsnew/3.6.rst
index ed398f2..4359a90 100644
--- a/Doc/whatsnew/3.6.rst
+++ b/Doc/whatsnew/3.6.rst
@@ -1404,7 +1404,7 @@ socket
------
The :func:`~socket.socket.ioctl` function now supports the
-:data:`~socket.SIO_LOOPBACK_FAST_PATH` control code.
+:const:`~socket.SIO_LOOPBACK_FAST_PATH` control code.
(Contributed by Daniel Stokes in :issue:`26536`.)
The :meth:`~socket.socket.getsockopt` constants ``SO_DOMAIN``,
@@ -1416,7 +1416,7 @@ The :meth:`~socket.socket.setsockopt` now supports the
(Contributed by Christian Heimes in :issue:`27744`.)
The socket module now supports the address family
-:data:`~socket.AF_ALG` to interface with Linux Kernel crypto API. ``ALG_*``,
+:const:`~socket.AF_ALG` to interface with Linux Kernel crypto API. ``ALG_*``,
``SOL_ALG`` and :meth:`~socket.socket.sendmsg_afalg` were added.
(Contributed by Christian Heimes in :issue:`27744` with support from
Victor Stinner.)