lxml.html.diff.href_token

Package lxml :: Package html :: Module diff :: Class href_token |
[hide private]
[frames] | no frames]

# Class href_token

source code

    object --+
             |
    basestring --+
                 |
           unicode --+
                     |
                 token --+
                         |
                        href_token

Represents the href in an anchor tag. Unlike other words, we only show the href when it changes.

Instance Methods | [hide private]
html(self) | source code
Inherited from `token`: `__repr__` Inherited from `unicode`: `__add__`, `__contains__`, `__eq__`, `__format__`, `__ge__`, `__getattribute__`, `__getitem__`, `__getnewargs__`, `__getslice__`, `__gt__`, `__hash__`, `__le__`, `__len__`, `__lt__`, `__mod__`, `__mul__`, `__ne__`, `__rmod__`, `__rmul__`, `__sizeof__`, `__str__`, `capitalize`, `center`, `count`, `decode`, `encode`, `endswith`, `expandtabs`, `find`, `format`, `index`, `isalnum`, `isalpha`, `isdecimal`, `isdigit`, `islower`, `isnumeric`, `isspace`, `istitle`, `isupper`, `join`, `ljust`, `lower`, `lstrip`, `partition`, `replace`, `rfind`, `rindex`, `rjust`, `rpartition`, `rsplit`, `rstrip`, `split`, `splitlines`, `startswith`, `strip`, `swapcase`, `title`, `translate`, `upper`, `zfill` Inherited from `unicode` (private): `_formatter_field_name_split`, `_formatter_parser` Inherited from `object`: `__delattr__`, `__init__`, `__reduce__`, `__reduce_ex__`, `__setattr__`, `__subclasshook__`

Static Methods | [hide private]
Inherited from `token`: `__new__`

Class Variables | [hide private]
| hide_when_equal = `True`

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

Method Details | [hide private]

### html(self) | source code
Overrides: token.html