diff options
author | W. Trevor King <wking@drexel.edu> | 2010-02-06 13:44:05 -0500 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2010-02-06 13:44:05 -0500 |
commit | 4c71190ebafd7ce198a5c0047588c4b2f7e5ef58 (patch) | |
tree | 0d22c6f22dfc9295dff49ecc31534226763df079 /libbe/bugdir.py | |
parent | 668be5b01d9ad47f4f9714bfe8deee377341eb35 (diff) | |
download | bugseverywhere-4c71190ebafd7ce198a5c0047588c4b2f7e5ef58.tar.gz |
Added bugdir and comment modules to Sphinx docs
Diffstat (limited to 'libbe/bugdir.py')
-rw-r--r-- | libbe/bugdir.py | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/libbe/bugdir.py b/libbe/bugdir.py index 3c3afa0..fa8edb9 100644 --- a/libbe/bugdir.py +++ b/libbe/bugdir.py @@ -19,8 +19,7 @@ # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -""" -Define the BugDir class for representing bug comments. +"""Define the :class:`BugDir` class for storing a collection of bugs. """ import copy @@ -89,8 +88,10 @@ class DiskAccessRequired (Exception): class BugDir (list, settings_object.SavedSettingsObject): - """ - TODO: simple bugdir manipulation examples... + """A BugDir is a container for :class:`libbe.bug.Bug`\s, with some + additional attributes. + + See :class:`SimpleBugDir` for some bugdir manipulation exampes. """ settings_properties = [] @@ -344,7 +345,8 @@ class RevisionedBugDir (BugDir): if libbe.TESTING == True: class SimpleBugDir (BugDir): """ - For testing. Set memory=True for a memory-only bugdir. + For testing. Set ``memory=True`` for a memory-only bugdir. + >>> bugdir = SimpleBugDir() >>> uuids = list(bugdir.uuids()) >>> uuids.sort() |