mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
Merge alpha100 branch back to main trunk
This commit is contained in:
parent
2979b01ff8
commit
b6775db241
176 changed files with 5302 additions and 3668 deletions
11
Lib/sched.py
11
Lib/sched.py
|
@ -6,12 +6,11 @@
|
|||
#
|
||||
# Each instance is parametrized with two functions, one that is
|
||||
# supposed to return the current time, one that is supposed to
|
||||
# implement a delay. You can implement fine- or course-grained
|
||||
# real-time scheduling by substituting time and sleep or millitimer
|
||||
# and millisleep from the built-in module time, or you can implement
|
||||
# simulated time by writing your own functions. This can also be
|
||||
# used to integrate scheduling with STDWIN events; the delay function
|
||||
# is allowed to modify the queue. Time can be expressed as
|
||||
# implement a delay. You can implement real-time scheduling by
|
||||
# substituting time and sleep from built-in module time, or you can
|
||||
# implement simulated time by writing your own functions. This can
|
||||
# also be used to integrate scheduling with STDWIN events; the delay
|
||||
# function is allowed to modify the queue. Time can be expressed as
|
||||
# integers or floating point numbers, as long as it is consistent.
|
||||
|
||||
# Events are specified by tuples (time, priority, action, argument).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue