From 5478cc68f8699dab10a25b976671ae52a0d8f6a8 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 12 Nov 1991 15:37:53 +0000 Subject: Added a comment about a possible interface change. --- Lib/sched.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Lib/sched.py') diff --git a/Lib/sched.py b/Lib/sched.py index 6abd251222..42d5ceedfe 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 -- cgit v1.2.1