From: Victor Stinner Date: Sat, 28 Apr 2012 21:47:33 +0000 (+0200) Subject: Time doc: documentation that the CLOCK_* constants and clock_*() functions are X-Git-Tag: v3.3.0a3~54 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ca6e40f12a3145856abfe69d5cd8b97df6ebca95;p=thirdparty%2FPython%2Fcpython.git Time doc: documentation that the CLOCK_* constants and clock_*() functions are not always available. --- diff --git a/Doc/library/time.rst b/Doc/library/time.rst index eddfa110c7c2..70ef114bd240 100644 --- a/Doc/library/time.rst +++ b/Doc/library/time.rst @@ -141,6 +141,8 @@ The module defines the following functions and data items: Return the resolution (precision) of the specified clock *clk_id*. + Availability: Unix. + .. versionadded:: 3.3 @@ -148,6 +150,8 @@ The module defines the following functions and data items: Return the time of the specified clock *clk_id*. + Availability: Unix. + .. versionadded:: 3.3 @@ -155,6 +159,8 @@ The module defines the following functions and data items: Set the time of the specified clock *clk_id*. + Availability: Unix. + .. versionadded:: 3.3 @@ -164,6 +170,8 @@ The module defines the following functions and data items: 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 @@ The module defines the following functions and data items: Clock that cannot be set and represents monotonic time since some unspecified starting point. + Availability: Unix. + .. versionadded:: 3.3 @@ -189,6 +199,8 @@ The module defines the following functions and data items: High-resolution per-process timer from the CPU. + Availability: Unix. + .. versionadded:: 3.3 @@ -197,6 +209,8 @@ The module defines the following functions and data items: System-wide real-time clock. Setting this clock requires appropriate privileges. + Availability: Unix. + .. versionadded:: 3.3 @@ -204,6 +218,8 @@ The module defines the following functions and data items: Thread-specific CPU-time clock. + Availability: Unix. + .. versionadded:: 3.3