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

Class MultipleSelectOptions

source code

       object --+                
                |                
    _abcoll.Sized --+            
                    |            
       object --+   |            
                |   |            
 _abcoll.Iterable --+            
                    |            
       object --+   |            
                |   |            
_abcoll.Container --+            
                    |            
          _abcoll.Set --+        
                        |        
       _abcoll.MutableSet --+    
                            |    
           _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.

Nested Classes [hide private]

Inherited from _abcoll.Sized: __metaclass__

Instance Methods [hide private]
 
__init__(self, select)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__iter__(self) source code
 
__repr__(self)
repr(x)
source code
 
add(self, item)
Add an element.
source code
 
remove(self, item)
Remove an element. If not a member, raise a KeyError.
source code

Inherited from _setmixin.SetMixin: __contains__, __len__, copy, difference, difference_update, discard, intersection, intersection_update, issubset, issuperset, symmetric_difference, symmetric_difference_update, union, update

Inherited from _abcoll.MutableSet: __iand__, __ior__, __isub__, __ixor__, clear, pop

Inherited from _abcoll.Set: __and__, __eq__, __ge__, __gt__, __le__, __lt__, __ne__, __or__, __rand__, __ror__, __rsub__, __rxor__, __sub__, __xor__, isdisjoint

Inherited from _abcoll.Set (private): _hash

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__

Class Methods [hide private]

Inherited from _setmixin.SetMixin (private): _from_iterable

Inherited from _abcoll.Sized: __subclasshook__

Class Variables [hide private]
  __abstractmethods__ = frozenset([])

Inherited from _setmixin.SetMixin (private): _abc_negative_cache, _abc_negative_cache_version, _abc_registry

Inherited from _abcoll.Set: __hash__

Inherited from _abcoll.Sized (private): _abc_cache

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)

__iter__(self)

source code 
Overrides: _abcoll.Iterable.__iter__

__repr__(self)
(Representation operator)

source code 
repr(x)
Overrides: object.__repr__
(inherited documentation)

add(self, item)

source code 
Add an element.
Overrides: _abcoll.MutableSet.add
(inherited documentation)

remove(self, item)

source code 
Remove an element. If not a member, raise a KeyError.
Overrides: _abcoll.MutableSet.remove
(inherited documentation)

Property Details [hide private]

options

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