[wwwsearch-commits] r17630 - wwwsearch/ClientForm/trunk
jjlee at codespeak.net
jjlee at codespeak.net
Sat Sep 17 22:27:28 CEST 2005
Author: jjlee
Date: Sat Sep 17 22:27:26 2005
New Revision: 17630
Modified:
wwwsearch/ClientForm/trunk/ClientForm.py
Log:
Whitespace normalisation
Modified: wwwsearch/ClientForm/trunk/ClientForm.py
==============================================================================
--- wwwsearch/ClientForm/trunk/ClientForm.py (original)
+++ wwwsearch/ClientForm/trunk/ClientForm.py Sat Sep 17 22:27:26 2005
@@ -1712,16 +1712,16 @@
def get(self, name, by_label=False, nr=None, exclude_disabled=False):
"""Return item by name or label, disambiguating if necessary with nr.
-
+
nr is an optional 0-based index of the items matching the query.
-
+
If nr is the default None value and more than item is found, raises
AmbiguityError.
-
+
If no item is found, raises ItemNotFoundError.
-
+
If items are found but nr is specified and not found, raises KeyError.
-
+
Optionally excludes disabled items.
"""
@@ -1735,10 +1735,10 @@
def toggle(self, name, by_label=False, nr=None):
"""Deprecated: given a name or label and optional disambiguating index
nr, toggle the matching item's selection.
-
+
Selecting items follows the behavior described in the docstring of the
'get' method.
-
+
if the item is disabled, or this control is disabled or readonly,
raise AttributeError.
@@ -1751,10 +1751,10 @@
def set(self, selected, name, by_label=False, nr=None):
"""Deprecated: given a name or label and optional disambiguating index
nr, set the matching item's selection to the bool value of selected.
-
+
Selecting items follows the behavior described in the docstring of the
'get' method.
-
+
if the item is disabled, or this control is disabled or readonly,
raise AttributeError.
More information about the wwwsearch-commits
mailing list