diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2012-01-24 00:12:54 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2012-01-24 00:12:54 (GMT) |
commit | 09406023a8c19febb3358008ddeabe4450c21b79 (patch) | |
tree | 8514b0541b3d59485a0bf2ddf4ea566c70b7612f /Doc/library/time.rst | |
parent | 4ccc7277937650f2cbb3a5235f7b98f4fafa26fd (diff) | |
download | cpython-09406023a8c19febb3358008ddeabe4450c21b79.zip cpython-09406023a8c19febb3358008ddeabe4450c21b79.tar.gz cpython-09406023a8c19febb3358008ddeabe4450c21b79.tar.bz2 |
Sort functions in the doc of the time module
Move wallclock() at the end.
Diffstat (limited to 'Doc/library/time.rst')
-rw-r--r-- | Doc/library/time.rst | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/Doc/library/time.rst b/Doc/library/time.rst index 757fbf3..2ba7c7b 100644 --- a/Doc/library/time.rst +++ b/Doc/library/time.rst @@ -183,19 +183,6 @@ The module defines the following functions and data items: .. versionadded:: 3.3 -.. function:: wallclock() - - .. index:: - single: Wallclock - single: benchmarking - - Return the current time in fractions of a second to the system's best ability. - Use this when the most accurate representation of wall-clock is required, i.e. - when "processor time" is inappropriate. The reference point of the returned - value is undefined so only the difference of consecutive calls is valid. - - .. versionadded: 3.3 - .. function:: ctime([secs]) Convert a time expressed in seconds since the epoch to a string representing @@ -550,6 +537,20 @@ The module defines the following functions and data items: ('EET', 'EEST') +.. function:: wallclock() + + .. index:: + single: Wallclock + single: benchmarking + + Return the current time in fractions of a second to the system's best ability. + Use this when the most accurate representation of wall-clock is required, i.e. + when "processor time" is inappropriate. The reference point of the returned + value is undefined so only the difference of consecutive calls is valid. + + .. versionadded: 3.3 + + .. seealso:: Module :mod:`datetime` |