Package lxml :: Module cssselect :: Class Attrib

[hide private]
[frames] | no frames]

# Class Attrib

source code

    object --+
             |
            Attrib

Represents selector[namespace|attrib operator value]

Instance Methods | [hide private]

__init__(self, selector, namespace, attrib, operator, value) x.__init__(...) initializes x; see x.__class__.__doc__ for signature | source code

__repr__(self) repr(x) | source code

_format_attrib(self) | source code

_xpath_attrib(self) | source code

xpath(self) | source code

Inherited from `object`: `__delattr__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__setattr__`, `__str__`

Properties | [hide private]

Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self, selector, namespace, attrib, operator, value)
(Constructor)

source code

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
  (inherited documentation)

### __repr__(self)
(Representation operator)

source code

repr(x)

Overrides: object.__repr__
  (inherited documentation)