diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2023-07-21 09:40:37 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-21 09:40:37 (GMT) |
commit | 4b9948617f91175783609769aa6160e5b49b9ccc (patch) | |
tree | 70ee26c5370423240516d52536ae9c23f64245c5 /Misc/NEWS.d/3.11.0a1.rst | |
parent | d036db728ea3d54509cbad06df74e2d9a31fbec8 (diff) | |
download | cpython-4b9948617f91175783609769aa6160e5b49b9ccc.zip cpython-4b9948617f91175783609769aa6160e5b49b9ccc.tar.gz cpython-4b9948617f91175783609769aa6160e5b49b9ccc.tar.bz2 |
gh-106909: Use role :const: for referencing module constants (GH-106910)
Diffstat (limited to 'Misc/NEWS.d/3.11.0a1.rst')
-rw-r--r-- | Misc/NEWS.d/3.11.0a1.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Misc/NEWS.d/3.11.0a1.rst b/Misc/NEWS.d/3.11.0a1.rst index 1a2d22b..17ee513 100644 --- a/Misc/NEWS.d/3.11.0a1.rst +++ b/Misc/NEWS.d/3.11.0a1.rst @@ -1468,8 +1468,8 @@ an installed expat library <= 2.2.0. On Unix, if the ``sem_clockwait()`` function is available in the C library (glibc 2.30 and newer), the :meth:`threading.Lock.acquire` method now uses -the monotonic clock (:data:`time.CLOCK_MONOTONIC`) for the timeout, rather -than using the system clock (:data:`time.CLOCK_REALTIME`), to not be +the monotonic clock (:const:`time.CLOCK_MONOTONIC`) for the timeout, rather +than using the system clock (:const:`time.CLOCK_REALTIME`), to not be affected by system clock changes. Patch by Victor Stinner. .. @@ -2087,8 +2087,8 @@ Upgrade bundled pip to 21.2.3 and setuptools to 57.4.0 .. section: Library Fix the :func:`os.set_inheritable` function on FreeBSD 14 for file -descriptor opened with the :data:`~os.O_PATH` flag: ignore the -:data:`~errno.EBADF` error on ``ioctl()``, fallback on the ``fcntl()`` +descriptor opened with the :const:`~os.O_PATH` flag: ignore the +:const:`~errno.EBADF` error on ``ioctl()``, fallback on the ``fcntl()`` implementation. Patch by Victor Stinner. .. |