b92ebe6d7e77

Add another docstring.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Wed, 26 Aug 2009 18:12:24 -0400
parents c47144e1fe4b
children 90526072108a
branches/tags (none)
files t.py

Changes

--- 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 = {}