diff options
Diffstat (limited to 'Doc/library/sched.rst')
-rw-r--r-- | Doc/library/sched.rst | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Doc/library/sched.rst b/Doc/library/sched.rst index 40d9331..1007cfb 100644 --- a/Doc/library/sched.rst +++ b/Doc/library/sched.rst @@ -47,7 +47,7 @@ Example:: Scheduler Objects ----------------- -:class:`scheduler` instances have the following methods: +:class:`scheduler` instances have the following methods and attributes: .. method:: scheduler.enterabs(time, priority, action, argument) @@ -98,3 +98,8 @@ Scheduler Objects the calling code is responsible for canceling events which are no longer pertinent. +.. attribute:: scheduler.queue + + Read-only attribute returning a list of upcoming events in the order they + will be run. Each event is shown as a :term:`named tuple` with the + following fields: time, priority, action, argument. |