class documentation
Represents a token that is actually a tag. Currently this is just the <img> tag, which takes up visible space just like a word but is only represented in a document by a tag.
Method | __new__ |
Undocumented |
Method | __repr__ |
Undocumented |
Method | html |
Undocumented |
Inherited from token
:
Class Variable | hide |
Undocumented |
def __new__(cls, tag, data, html_repr, pre_tags=None, post_tags=None, trailing_whitespace=''):
(source)
¶
overrides
lxml.html.diff.token.__new__
Undocumented