X7ROOT File Manager
Current Path:
/opt/alt/python37/lib64/python3.7/site-packages/lxml/html
opt
/
alt
/
python37
/
lib64
/
python3.7
/
site-packages
/
lxml
/
html
/
ðŸ“
..
📄
ElementSoup.py
(319 B)
📄
__init__.py
(63.29 KB)
ðŸ“
__pycache__
📄
_diffcommand.py
(2.07 KB)
📄
_html5builder.py
(3.17 KB)
📄
_setmixin.py
(1.16 KB)
📄
builder.py
(4.21 KB)
📄
clean.cpython-37m-x86_64-linux-gnu.so
(261.31 KB)
📄
clean.py
(26.28 KB)
📄
defs.py
(4.09 KB)
📄
diff.cpython-37m-x86_64-linux-gnu.so
(344.51 KB)
📄
diff.py
(29.84 KB)
📄
formfill.py
(9.46 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 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