Commit 5b71bedc authored by Guido van Rossum's avatar Guido van Rossum

Added a comment about a possible interface change.

parent 129aaa37
......@@ -23,6 +23,11 @@
# has another way to reference private data (besides global variables).
# Parameterless functions or methods cannot be used, however.
# XXX The timefunc and delayfunc should have been defined as methods
# XXX so you can define new kinds of schedulers using subclassing
# XXX instead of having to define a module or class just to hold
# XXX the global state of your particular time and delay functtions.
class scheduler():
#
# Initialize a new instance, passing the time and delay functions
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment