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

Miss Islington (bot) webhook-mailer at python.org
Fri Jan 11 08:32:15 EST 2019


https://github.com/python/cpython/commit/8a5b1aa98f97923c39734b508aead152a5a1c911
commit: 8a5b1aa98f97923c39734b508aead152a5a1c911
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2019-01-11T05:32:11-08: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>
(cherry picked from commit fd7d539be3ce1cc098a4f104b7a7816ca00add16)

Co-authored-by: Joannah Nanjekye <33177550+nanjekyejoannah at users.noreply.github.com>

files:
M Doc/library/time.rst

diff --git a/Doc/library/time.rst b/Doc/library/time.rst
index 0ffce475a368..8c6813bb7361 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