From: Kumar Aditya Date: Thu, 9 Dec 2021 14:24:32 +0000 (+0530) Subject: bpo-46016: Fix rest syntax of GH-29993 (GH-30006) X-Git-Tag: v3.11.0a4~247 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b123ad8030a4ad15c8dbb7cb3638caf625943878;p=thirdparty%2FPython%2Fcpython.git bpo-46016: Fix rest syntax of GH-29993 (GH-30006) --- diff --git a/Doc/whatsnew/3.11.rst b/Doc/whatsnew/3.11.rst index 4a113cdb8905..7a828663e7f3 100644 --- a/Doc/whatsnew/3.11.rst +++ b/Doc/whatsnew/3.11.rst @@ -332,7 +332,7 @@ unicodedata fcntl ----- -* On FreeBSD, the `F_DUP2FD` and `F_DUP2FD_CLOEXEC` flags respectively +* On FreeBSD, the :attr:`F_DUP2FD` and :attr:`F_DUP2FD_CLOEXEC` flags respectively are supported, the former equals to ``dup2`` usage while the latter set the ``FD_CLOEXEC`` flag in addition. diff --git a/Misc/NEWS.d/next/Library/2021-12-08-19-15-03.bpo-46016.s9PuyF.rst b/Misc/NEWS.d/next/Library/2021-12-08-19-15-03.bpo-46016.s9PuyF.rst index 7308c542aacf..485bd86f3145 100644 --- a/Misc/NEWS.d/next/Library/2021-12-08-19-15-03.bpo-46016.s9PuyF.rst +++ b/Misc/NEWS.d/next/Library/2021-12-08-19-15-03.bpo-46016.s9PuyF.rst @@ -1 +1 @@ -Adding `F_DUP2FD` and `F_DUP2FD_CLOEXEC` constants from FreeBSD into the fcntl module. +Adding :attr:`F_DUP2FD` and :attr:`F_DUP2FD_CLOEXEC` constants from FreeBSD into the fcntl module.