]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-103417: Fix the scheduler example (GH-111497)
authormauricelambert <50479118+mauricelambert@users.noreply.github.com>
Sun, 25 Feb 2024 11:55:57 +0000 (11:55 +0000)
committerGitHub <noreply@github.com>
Sun, 25 Feb 2024 11:55:57 +0000 (13:55 +0200)
commitcb287d342139509e03a2dbe5ea2608627fd3a350
treedabf7719a651c67f18ceaf2e02e73c32c3eb4536
parent6550b548138ed996e1098c4271f5b7df56f02ab8
gh-103417: Fix the scheduler example (GH-111497)

Arguments to enterabs() are specified as Unix time.
If the scheduler use the time.monotonic timer, the code will take
decades to complete.
Doc/library/sched.rst