summaryrefslogtreecommitdiffstats
path: root/ipalib
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2009-01-02 17:27:44 -0700
committerJason Gerard DeRose <jderose@redhat.com>2009-01-02 17:27:44 -0700
commitb32965dffe1dbd4404dd4afb63994c807e80e25c (patch)
tree4a3b827fae1b81f55764f83587d802ee50907465 /ipalib
parentdae08b3ee6bfa3d9d4108b839255fd152e543f36 (diff)
downloadfreeipa-b32965dffe1dbd4404dd4afb63994c807e80e25c.tar.gz
freeipa-b32965dffe1dbd4404dd4afb63994c807e80e25c.tar.xz
freeipa-b32965dffe1dbd4404dd4afb63994c807e80e25c.zip
Clarifed base.DefaultFrom.__call__() docstring
Diffstat (limited to 'ipalib')
-rw-r--r--ipalib/parameter.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/ipalib/parameter.py b/ipalib/parameter.py
index 1d629f381..7605339d4 100644
--- a/ipalib/parameter.py
+++ b/ipalib/parameter.py
@@ -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.
"""