Package lxml :: Module cssselect :: Class Pseudo

[hide private]
[frames] | no frames]

# Class Pseudo

source code

    object --+
             |
            Pseudo

Represents selector:ident

Instance Methods | [hide private]

__init__(self, element, type, ident) x.__init__(...) initializes x; see x.__class__.__doc__ for signature | source code

__repr__(self) repr(x) | source code

xpath(self) | source code

_xpath_checked(self, xpath) | source code

_xpath_root(self, xpath) | source code

_xpath_first_child(self, xpath) | source code

_xpath_last_child(self, xpath) | source code

_xpath_first_of_type(self, xpath) | source code

_xpath_last_of_type(self, xpath) | source code

_xpath_only_child(self, xpath) | source code

_xpath_only_of_type(self, xpath) | source code

_xpath_empty(self, xpath) | source code

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

Class Variables | [hide private]

| unsupported = ``[``'``indeterminate``'``,` `'``first-line``'``,` `'``first-letter``'``,` `...``

Properties | [hide private]

Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self, element, type, ident)
(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)

Class Variable Details | [hide private]

### unsupported

Value:

      ['indeterminate',
       'first-line',
       'first-letter',
       'selection',
       'before',
       'after',
       'link',
       'visited',
      ...