Changeset 415

Show
Ignore:
Timestamp:
05/07/07 10:15:29 (2 years ago)
Author:
athomas
Message:

cly: More docstring updates.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • cly/trunk/cly/__init__.py

    r413 r415  
    626626    """A callable object representing help for a Node. 
    627627 
    628     Returns an iterable of pairs in the form (key, help).""" 
    629     def __init__(self, doc): 
    630         """Accepts an iterable of two element tuples in the form (key, help). 
     628    Returns an iterable of pairs in the form (key, help). 
     629 
     630    Constructor arguments 
     631 
     632    ``doc``: 
     633        An iterable of two element tuples in the form ``(key, help)``. 
    631634 
    632635        >>> h = Help([('a', 'b'), ('b', 'c')]) 
    633636        >>> [i for i in h(None)] 
    634637        [('a', 'b'), ('b', 'c')] 
    635         """ 
     638    """ 
     639    def __init__(self, doc): 
    636640        self.doc = doc 
    637641