Clarifed base.DefaultFrom.__call__() docstring

This commit is contained in:
Jason Gerard DeRose 2009-01-02 17:27:44 -07:00
parent dae08b3ee6
commit b32965dffe

View File

@ -122,7 +122,10 @@ class DefaultFrom(ReadOnly):
def __call__(self, **kw):
"""
If all keys are present, calls the callback; otherwise returns None.
Call the callback if all keys are present.
If all keys are present, the callback is called and its return value is
returned. If any keys are missing, ``None`` is returned.
:param kw: The keyword arguments.
"""