Server : LiteSpeed System : Linux server551.iseencloud.net 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64 User : pbkvidya ( 2092) PHP Version : 8.1.34 Disable Function : show_source, system, shell_exec, passthru, exec, popen, proc_open Directory : /usr/lib/python3.9/site-packages/html2text/ |
from typing import Dict, Optional
class AnchorElement:
__slots__ = ["attrs", "count", "outcount"]
def __init__(self, attrs: Dict[str, Optional[str]], count: int, outcount: int):
self.attrs = attrs
self.count = count
self.outcount = outcount
class ListElement:
__slots__ = ["name", "num"]
def __init__(self, name: str, num: int):
self.name = name
self.num = num