modm_data.html.list

 1# Copyright 2022, Niklas Hauser
 2# SPDX-License-Identifier: MPL-2.0
 3
 4import re
 5from functools import cached_property
 6from .text import replace as html_replace, Text
 7
 8
 9class List(Text):
10    def __init__(self, html):
11        self._html = html
12
13    def __repr__(self) -> str:
14        return f"List({self.text()[:10]})"
class List(modm_data.html.text.Text):
10class List(Text):
11    def __init__(self, html):
12        self._html = html
13
14    def __repr__(self) -> str:
15        return f"List({self.text()[:10]})"
List(html)
11    def __init__(self, html):
12        self._html = html
Inherited Members
modm_data.html.text.Text
html
text