Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/port/chooser.py
diff options
context:
space:
mode:
Diffstat (limited to 'port/chooser.py')
-rw-r--r--port/chooser.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/port/chooser.py b/port/chooser.py
index b7046be..e2df259 100644
--- a/port/chooser.py
+++ b/port/chooser.py
@@ -34,9 +34,9 @@ def pick(cb=None, default=None, parent=None, what=None):
* cb(jobject), if object was choosen and cb is not None
* jobject, if object was choosen and cb is None
- * None, otherwise
+ * default, otherwise
- NOTE: what make sense only for sugar >= 0.84
+ NOTE: 'what' makes sense only for sugar >= 0.84
"""
what = what and {'what_filter': what} or {}
chooser = ObjectChooser(parent=parent, **what)