Commit 09406023 authored by Victor Stinner's avatar Victor Stinner

Sort functions in the doc of the time module

Move wallclock() at the end.
parent 4ccc7277
...@@ -183,19 +183,6 @@ The module defines the following functions and data items: ...@@ -183,19 +183,6 @@ The module defines the following functions and data items:
.. versionadded:: 3.3 .. 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]) .. function:: ctime([secs])
Convert a time expressed in seconds since the epoch to a string representing 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: ...@@ -550,6 +537,20 @@ The module defines the following functions and data items:
('EET', 'EEST') ('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:: .. seealso::
Module :mod:`datetime` Module :mod:`datetime`
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment