]> granicus.if.org Git - python/commitdiff
Sort functions in the doc of the time module
authorVictor Stinner <victor.stinner@haypocalc.com>
Tue, 24 Jan 2012 00:12:54 +0000 (01:12 +0100)
committerVictor Stinner <victor.stinner@haypocalc.com>
Tue, 24 Jan 2012 00:12:54 +0000 (01:12 +0100)
Move wallclock() at the end.

Doc/library/time.rst

index 757fbf3398ec0914c8d0f8ebbafcd4e37cc39083..2ba7c7ba5254945d17814a4d623d986b0693ef21 100644 (file)
@@ -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`