$65 GRAYBYTE WORDPRESS FILE MANAGER $38

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.15.130 | ADMIN IP 216.73.216.174
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/hc_python/lib/python3.12/site-packages/lxml/html/

HOME
Current File : /opt/hc_python/lib/python3.12/site-packages/lxml/html//_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)


Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
4 Apr 2025 8.03 AM
root / root
0755
__pycache__
--
4 Apr 2025 8.03 AM
root / root
0755
ElementSoup.py
0.313 KB
4 Apr 2025 8.03 AM
root / root
0644
__init__.py
62.795 KB
4 Apr 2025 8.03 AM
root / root
0644
_diffcommand.py
2.032 KB
4 Apr 2025 8.03 AM
root / root
0644
_html5builder.py
3.154 KB
4 Apr 2025 8.03 AM
root / root
0644
_setmixin.py
1.16 KB
4 Apr 2025 8.03 AM
root / root
0644
builder.py
4.387 KB
4 Apr 2025 8.03 AM
root / root
0644
clean.py
0.491 KB
4 Apr 2025 8.03 AM
root / root
0644
defs.py
4.137 KB
4 Apr 2025 8.03 AM
root / root
0644
diff.cpython-312-x86_64-linux-gnu.so
352.18 KB
4 Apr 2025 8.03 AM
root / root
0755
diff.py
29.681 KB
4 Apr 2025 8.03 AM
root / root
0644
formfill.py
9.454 KB
4 Apr 2025 8.03 AM
root / root
0644
html5parser.py
8.432 KB
4 Apr 2025 8.03 AM
root / root
0644
soupparser.py
9.958 KB
4 Apr 2025 8.03 AM
root / root
0644
usedoctest.py
0.243 KB
4 Apr 2025 8.03 AM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF