[Python-checkins] cpython: Time doc: documentation that the CLOCK_* constants and clock_*() functions are

victor.stinner python-checkins at python.org
Sat Apr 28 23:48:34 CEST 2012


http://hg.python.org/cpython/rev/49675de23013
changeset:   76596:49675de23013
parent:      76593:c91ed8dacf38
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Sat Apr 28 23:47:33 2012 +0200
summary:
  Time doc: documentation that the CLOCK_* constants and clock_*() functions are
not always available.

files:
  Doc/library/time.rst |  16 ++++++++++++++++
  1 files changed, 16 insertions(+), 0 deletions(-)


diff --git a/Doc/library/time.rst b/Doc/library/time.rst
--- a/Doc/library/time.rst
+++ b/Doc/library/time.rst
@@ -141,6 +141,8 @@
 
    Return the resolution (precision) of the specified clock *clk_id*.
 
+   Availability: Unix.
+
    .. versionadded:: 3.3
 
 
@@ -148,6 +150,8 @@
 
    Return the time of the specified clock *clk_id*.
 
+   Availability: Unix.
+
    .. versionadded:: 3.3
 
 
@@ -155,6 +159,8 @@
 
    Set the time of the specified clock *clk_id*.
 
+   Availability: Unix.
+
    .. versionadded:: 3.3
 
 
@@ -164,6 +170,8 @@
    hardware source, and may give close to nanosecond resolution. CLOCK_HIGHRES
    is the nonadjustable, high-resolution clock.
 
+   Availability: Solaris.
+
    .. versionadded:: 3.3
 
 
@@ -172,6 +180,8 @@
    Clock that cannot be set and represents monotonic time since some
    unspecified starting point.
 
+   Availability: Unix.
+
    .. versionadded:: 3.3
 
 
@@ -189,6 +199,8 @@
 
    High-resolution per-process timer from the CPU.
 
+   Availability: Unix.
+
    .. versionadded:: 3.3
 
 
@@ -197,6 +209,8 @@
    System-wide real-time clock. Setting this clock requires appropriate
    privileges.
 
+   Availability: Unix.
+
    .. versionadded:: 3.3
 
 
@@ -204,6 +218,8 @@
 
    Thread-specific CPU-time clock.
 
+   Availability: Unix.
+
    .. versionadded:: 3.3
 
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list