@@ -1279,7 +1279,7 @@ def __str__(self):
12791279
12801280 def get_labels (self ):
12811281 """Return all labels (Label instances) for this control.
1282-
1282+
12831283 If the control was surrounded by a <label> tag, that will be the first
12841284 label; all other labels, connected by 'for' and 'id', are in the order
12851285 that appear in the HTML.
@@ -1622,12 +1622,12 @@ def __init__(self, control, attrs, index=None):
16221622
16231623 def get_labels (self ):
16241624 """Return all labels (Label instances) for this item.
1625-
1625+
16261626 For items that represent radio buttons or checkboxes, if the item was
16271627 surrounded by a <label> tag, that will be the first label; all other
16281628 labels, connected by 'for' and 'id', are in the order that appear in
16291629 the HTML.
1630-
1630+
16311631 For items that represent select options, if the option had a label
16321632 attribute, that will be the first label. If the option has contents
16331633 (text within the option tags) and it is not the same as the label
@@ -1936,9 +1936,9 @@ def _set_selected_state(self, item, action):
19361936
19371937 def toggle_single (self , by_label = None ):
19381938 """Deprecated: toggle the selection of the single item in this control.
1939-
1939+
19401940 Raises ItemCountError if the control does not contain only one item.
1941-
1941+
19421942 by_label argument is ignored, and included only for backwards
19431943 compatibility.
19441944
@@ -1953,9 +1953,9 @@ def toggle_single(self, by_label=None):
19531953
19541954 def set_single (self , selected , by_label = None ):
19551955 """Deprecated: set the selection of the single item in this control.
1956-
1956+
19571957 Raises ItemCountError if the control does not contain only one item.
1958-
1958+
19591959 by_label argument is ignored, and included only for backwards
19601960 compatibility.
19611961
@@ -2067,7 +2067,7 @@ def fixup(self):
20672067 # RFC 1866 if the _select_default attribute is set, and Netscape and IE
20682068 # otherwise. RFC 1866 and HTML 4 are always violated insofar as you
20692069 # can deselect all items in a RadioControl.
2070-
2070+
20712071 for o in self .items :
20722072 # set items' controls to self, now that we've merged
20732073 o .__dict__ ["_control" ] = self
0 commit comments