X7ROOT File Manager
Current Path:
/opt/hc_python/lib/python3.12/site-packages/lxml/html
opt
/
hc_python
/
lib
/
python3.12
/
site-packages
/
lxml
/
html
/
ðŸ“
..
📄
ElementSoup.py
(320 B)
📄
__init__.py
(62.79 KB)
ðŸ“
__pycache__
📄
_diffcommand.py
(2.03 KB)
📄
_html5builder.py
(3.15 KB)
📄
_setmixin.py
(1.16 KB)
📄
builder.py
(4.39 KB)
📄
clean.py
(503 B)
📄
defs.py
(4.14 KB)
📄
diff.cpython-312-x86_64-linux-gnu.so
(352.18 KB)
📄
diff.py
(29.68 KB)
📄
formfill.py
(9.45 KB)
📄
html5parser.py
(8.43 KB)
📄
soupparser.py
(9.96 KB)
📄
usedoctest.py
(249 B)
Editing: _setmixin.py
try: from collections.abc import MutableSet except ImportError: from collections.abc import MutableSet class SetMixin(MutableSet): """ Mix-in for sets. You must define __iter__, add, remove """ def __len__(self): length = 0 for item in self: length += 1 return length def __contains__(self, item): for has_item in self: if item == has_item: return True return False issubset = MutableSet.__le__ issuperset = MutableSet.__ge__ union = MutableSet.__or__ intersection = MutableSet.__and__ difference = MutableSet.__sub__ symmetric_difference = MutableSet.__xor__ def copy(self): return set(self) def update(self, other): self |= other def intersection_update(self, other): self &= other def difference_update(self, other): self -= other def symmetric_difference_update(self, other): self ^= other def discard(self, item): try: self.remove(item) except KeyError: pass @classmethod def _from_iterable(cls, it): return set(it)
Upload File
Create Folder