diff options
author | Mike C. Fletcher <mcfletch@raistlin.(none)> | 2007-04-10 02:47:37 (GMT) |
---|---|---|
committer | Mike C. Fletcher <mcfletch@raistlin.(none)> | 2007-04-10 02:47:37 (GMT) |
commit | 3f10890319aa00fcefa58380e9971a911c9ec5b0 (patch) | |
tree | 25e2889a740e36fe776b083a250d15585d32a463 /sugar/__init__.py | |
parent | 508a59b99bf06bd6c3294a296ee014b5636bbd35 (diff) |
Docstrings for modules all over sugar and shell.
These are just the doc strings I created as I was spelunking
through to see how Sugar manages launching applications. The
resulting auto-documentation is neither polished or finished,
but it should help people reading the code somewhat.
There are a few minor code cleanups:
* activityhandle (replacing C idiom for initialisation with
a Python one)
* bundle registry (using a parameterised directory name so
that it shows up in the documentation)
* validate_activity_id function, use isinstance( item, (str,unicode))
for the query, rather than two separate checks with isinstance
Diffstat (limited to 'sugar/__init__.py')
-rw-r--r-- | sugar/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sugar/__init__.py b/sugar/__init__.py index 238ae96..05d58f0 100644 --- a/sugar/__init__.py +++ b/sugar/__init__.py @@ -1,3 +1,4 @@ +"""OLPC Sugar User Interface""" ZOOM_MESH = 0 ZOOM_FRIENDS = 1 ZOOM_HOME = 2 |