lxml.html.MultipleSelectOptions

lxml :: html :: MultipleSelectOptions :: Class MultipleSelectOptions |
[hide private]
[frames] | no frames]

# Class MultipleSelectOptions

source code

            object --+
                     |
    _setmixin.SetMixin --+
                         |
                        MultipleSelectOptions

Represents all the selected options in a `<select multiple>` element.

You can add to this set-like option to select an option, or remove to unselect the option.

Instance Methods | [hide private]
__init__(self, select) x.__init__(...) initializes x; see help(type(x)) for signature | source code
__iter__(self) | source code
add(self, item) | source code
remove(self, item) | source code
__repr__(self) repr(x) | source code
Inherited from `_setmixin.SetMixin`: `__and__`, `__contains__`, `__ge__`, `__iand__`, `__ior__`, `__isub__`, `__ixor__`, `__le__`, `__len__`, `__or__`, `__sub__`, `__xor__`, `clear`, `copy`, `difference`, `difference_update`, `discard`, `intersection`, `intersection_update`, `issubset`, `issuperset`, `symmetric_difference`, `symmetric_difference_update`, `union`, `update` Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Properties | [hide private]
| options Iterator of all the `<option>` elements.
Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self, select) (Constructor) | source code
x.__init__(...) initializes x; see help(type(x)) for signature Overrides: object.__init__ (inherited documentation)

### __repr__(self) (Representation operator) | source code
repr(x) Overrides: object.__repr__ (inherited documentation)

Property Details | [hide private]

### options Iterator of all the `<option>` elements. Get Method: unreachable.options(self) - Iterator of all the `<option>` elements.