Changeset 4536

Show
Ignore:
Timestamp:
04/29/08 00:42:36 (3 months ago)
Author:
alberto
Message:

some edits to th docstrings

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • projects/ToscaWidgets/trunk/docs/source/api.rst

    r4535 r4536  
    1212 
    1313    from tw.forms import TextField, PasswordField 
    14  
    1514 
    1615 
  • projects/ToscaWidgets/trunk/tw/core/base.py

    r4535 r4536  
    487487    @only_if_initialized 
    488488    def retrieve_resources(self): 
     489        """ 
     490        Returns a dict keyed by location with ordered collections of 
     491        resources from this widget and its children as values. 
     492        """ 
    489493        from tw.api import locations 
    490494        resources = dict((k, OrderedSet()) for k in locations) 
     
    497501    def adapt_value(self, value): 
    498502        """ 
    499         Adapt object ``value`` for rendering in ``self``. Should return
     503        Adapt object *value* for rendering in this widget. Should return one of
    500504         * A list of objects for repeated widgets. 
    501505         * A dict for widgets with children, keyed by the children's ids.