]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-35716: Update time.CLOCK_MONOTONIC_RAW doc (GH-11517)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 11 Jan 2019 13:32:11 +0000 (05:32 -0800)
committerGitHub <noreply@github.com>
Fri, 11 Jan 2019 13:32:11 +0000 (05:32 -0800)
Document that the time.CLOCK_MONOTONIC_RAW constant
is now also available on macOS 10.12.

Co-authored-by: Ricardo Fraile <rfraile@rfraile.eu>
(cherry picked from commit fd7d539be3ce1cc098a4f104b7a7816ca00add16)

Co-authored-by: Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com>
Doc/library/time.rst

index 0ffce475a368d216cefc4dd8414c8cf64ab165eb..8c6813bb7361930ae18266f335bf3d7936da0905 100644 (file)
@@ -772,7 +772,7 @@ These constants are used as parameters for :func:`clock_getres` and
    Similar to :data:`CLOCK_MONOTONIC`, but provides access to a raw
    hardware-based time that is not subject to NTP adjustments.
 
-   Availability: Linux 2.6.28 or later.
+   .. availability:: Linux 2.6.28 and newer, macOS 10.12 and newer.
 
    .. versionadded:: 3.3
 
@@ -799,7 +799,7 @@ These constants are used as parameters for :func:`clock_getres` and
 
    Thread-specific CPU-time clock.
 
-   Availability: Unix.
+   .. availability::  Unix.
 
    .. versionadded:: 3.3