Mercurial > cpython-lru_cache-weakref
changeset 74588:dfd05348331c
Sort functions in the doc of the time module
Move wallclock() at the end.
| author | Victor Stinner <victor.stinner@haypocalc.com> |
|---|---|
| date | Tue, 24 Jan 2012 01:12:54 +0100 |
| parents | fb0f4fe8123e |
| children | a7406565ef1c |
| files | Doc/library/time.rst |
| diffstat | 1 files changed, 14 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/Doc/library/time.rst Mon Jan 23 23:48:41 2012 +0100 +++ b/Doc/library/time.rst Tue Jan 24 01:12:54 2012 +0100 @@ -183,19 +183,6 @@ .. 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 @@ ('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`
