summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1991-11-12 15:37:53 (GMT)
committerGuido van Rossum <guido@python.org>1991-11-12 15:37:53 (GMT)
commit5478cc68f8699dab10a25b976671ae52a0d8f6a8 (patch)
tree7d0cbe9513e856555b2b2fa89603003e3e935550 /Lib
parentd3778f9f6045bdbe6177ff100125555d3015beb1 (diff)
downloadcpython-5478cc68f8699dab10a25b976671ae52a0d8f6a8.zip
cpython-5478cc68f8699dab10a25b976671ae52a0d8f6a8.tar.gz
cpython-5478cc68f8699dab10a25b976671ae52a0d8f6a8.tar.bz2
Added a comment about a possible interface change.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/sched.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/sched.py b/Lib/sched.py
index 6abd251..42d5cee 100644
--- a/Lib/sched.py
+++ b/Lib/sched.py
@@ -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