# HG changeset patch # User Steve Losh # Date 1251324744 14400 # Node ID b92ebe6d7e77c31b3864fda7851e1453d26f7144 # Parent c47144e1fe4bdd1d2aeddf151679a37cfd18ff58 Add another docstring. diff -r c47144e1fe4b -r b92ebe6d7e77 t.py --- a/t.py Wed Aug 26 18:10:01 2009 -0400 +++ b/t.py Wed Aug 26 18:12:24 2009 -0400 @@ -61,6 +61,12 @@ class TaskDict(object): + """A set tasks, both finished and unfinished for a given list. + + The list's files are read from disk when the TaskDict is initialized. They + can be written back out to disk with the write() function. + + """ def __init__(self, taskdir='.', name='tasks'): """Initialize by reading the task files, if they exist.""" self.tasks = {}