summaryrefslogtreecommitdiffstats
path: root/Doc/library/socket.rst
diff options
context:
space:
mode:
authorŁukasz Langa <lukasz@langa.pl>2022-10-05 21:10:55 (GMT)
committerGitHub <noreply@github.com>2022-10-05 21:10:55 (GMT)
commit3b0f2a7ff068f24198b848f25662078c4223b10a (patch)
treef05da6a7d2700747a2a004a1a990447b862afa4f /Doc/library/socket.rst
parentac2427eeffef73d9c6d83fe35c50244d348e53e3 (diff)
downloadcpython-3b0f2a7ff068f24198b848f25662078c4223b10a.zip
cpython-3b0f2a7ff068f24198b848f25662078c4223b10a.tar.gz
cpython-3b0f2a7ff068f24198b848f25662078c4223b10a.tar.bz2
[3.10] gh-93738: Documentation C syntax (:c:type:<C type> -> :c:expr:<C type>) (GH-97768) (#97925)
:c:type:`<C type>` -> :c:expr:`<C type>` Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 0031e62973801d34a9e19ab7bb199e9668e32d7b) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Diffstat (limited to 'Doc/library/socket.rst')
-rw-r--r--Doc/library/socket.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst
index 6216e19..205d08b 100644
--- a/Doc/library/socket.rst
+++ b/Doc/library/socket.rst
@@ -1477,7 +1477,7 @@ to sockets.
ancillary data, items of the form ``(socket.SOL_SOCKET,
socket.SCM_RIGHTS, fds)``, where *fds* is a :class:`bytes` object
representing the new file descriptors as a binary array of the
- native C :c:type:`int` type. If :meth:`recvmsg` raises an
+ native C :c:expr:`int` type. If :meth:`recvmsg` raises an
exception after the system call returns, it will first attempt to
close any file descriptors received via this mechanism.