[Python-checkins] bpo-35716: Update time.CLOCK_MONOTONIC_RAW doc (GH-11517)

Victor Stinner webhook-mailer at python.org
Fri Jan 11 08:20:01 EST 2019


https://github.com/python/cpython/commit/fd7d539be3ce1cc098a4f104b7a7816ca00add16
commit: fd7d539be3ce1cc098a4f104b7a7816ca00add16
branch: master
author: Joannah Nanjekye <33177550+nanjekyejoannah at users.noreply.github.com>
committer: Victor Stinner <vstinner at redhat.com>
date: 2019-01-11T14:19:57+01:00
summary:

bpo-35716: Update time.CLOCK_MONOTONIC_RAW doc (GH-11517)

Document that the time.CLOCK_MONOTONIC_RAW constant
is now also available on macOS 10.12.

Co-authored-by: Ricardo Fraile <rfraile at rfraile.eu>

files:
M Doc/library/time.rst

diff --git a/Doc/library/time.rst b/Doc/library/time.rst
index 892ed1343a19..baf92c1400ee 100644
--- a/Doc/library/time.rst
+++ b/Doc/library/time.rst
@@ -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
 



More information about the Python-checkins mailing list