diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-05-28 03:56:05 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-28 03:56:05 -0700 |
commit | a6733fd0a26109c0b3579f46296cc2627b3347a8 (patch) | |
tree | 1957ac0753cdaf27c70e3b667ae40359685f3752 /Doc | |
parent | d57bb1c2f7288b77bcef05d83ef8b3b8a95be1e3 (diff) | |
download | cpython-git-a6733fd0a26109c0b3579f46296cc2627b3347a8.tar.gz |
Remove outdated time.monotonic reference (GH-13264)
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>
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/sched.rst | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Doc/library/sched.rst b/Doc/library/sched.rst index 6094a7b871..03753af4b2 100644 --- a/Doc/library/sched.rst +++ b/Doc/library/sched.rst @@ -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 |