]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Remove outdated time.monotonic reference (GH-13264)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 28 May 2019 10:56:05 +0000 (03:56 -0700)
committerGitHub <noreply@github.com>
Tue, 28 May 2019 10:56:05 +0000 (03:56 -0700)
Per ae58649, time.monotonic is always available, making the old note outdated.
(cherry picked from commit 293e9f86b8d10fcd88d6a2015babae76e9a8bd8f)

Co-authored-by: Brad <brad.solomon.1124@gmail.com>
Doc/library/sched.rst

index 6094a7b871454ed10004528d94fd29edfc7f4612..03753af4b2d50fbf61c1f694c1585fbae10ac742 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