]> granicus.if.org Git - python/commitdiff
Remove outdated time.monotonic reference (GH-13264)
authorBrad <brad.solomon.1124@gmail.com>
Tue, 28 May 2019 10:47:24 +0000 (06:47 -0400)
committerCheryl Sabella <cheryl.sabella@gmail.com>
Tue, 28 May 2019 10:47:24 +0000 (06:47 -0400)
Per ae58649, time.monotonic is always available, making the old note outdated.

Doc/library/sched.rst

index ad96dbc95b0cd2f084727e006988e6421941a400..fab16f52c462185b3dad74f820eebbd56acadd33 100644 (file)
@@ -20,8 +20,7 @@ scheduler:
    The :class:`scheduler` class defines a generic interface to scheduling events.
    It needs two functions to actually deal with the "outside world" --- *timefunc*
    should be callable without arguments, and return  a number (the "time", in any
-   units whatsoever). If time.monotonic is not available, the *timefunc* default
-   is time.time instead. The *delayfunc* function should be callable with one
+   units whatsoever).  The *delayfunc* function should be callable with one
    argument, compatible with the output of *timefunc*, and should delay that many
    time units. *delayfunc* will also be called with the argument ``0`` after each
    event is run to allow other threads an opportunity to run in multi-threaded