Package lxml :: Module cssselect :: Class XPathExprOr |
[hide private]
[frames] | no frames]

# Class XPathExprOr

source code

    object --+
             |
     XPathExpr --+
                 |
                XPathExprOr

Represents |'d expressions. Note that unfortunately it isn't the union, it's the sum, so duplicate elements will appear.

Instance Methods | [hide private]
__init__(self, items, prefix=None) x.__init__(...) initializes x; see x.__class__.__doc__ for signature | source code
__str__(self) str(x) | source code
Inherited from `XPathExpr`: `__repr__`, `add_condition`, `add_name_test`, `add_path`, `add_prefix`, `add_star_prefix`, `join` Inherited from `object`: `__delattr__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__setattr__`

Properties | [hide private]
Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self, items, prefix=None) (Constructor) | source code
x.__init__(...) initializes x; see x.__class__.__doc__ for signature Overrides: object.__init__ (inherited documentation)

### __str__(self) (Informal representation operator) | source code
str(x) Overrides: object.__str__ (inherited documentation)