$12 GRAYBYTE WORDPRESS FILE MANAGER $12

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

/opt/alt/python311/lib64/python3.11/importlib/resources/

HOME
Current File : /opt/alt/python311/lib64/python3.11/importlib/resources//_itertools.py
from itertools import filterfalse

from typing import (
    Callable,
    Iterable,
    Iterator,
    Optional,
    Set,
    TypeVar,
    Union,
)

# Type and type variable definitions
_T = TypeVar('_T')
_U = TypeVar('_U')


def unique_everseen(
    iterable: Iterable[_T], key: Optional[Callable[[_T], _U]] = None
) -> Iterator[_T]:
    "List unique elements, preserving order. Remember all elements ever seen."
    # unique_everseen('AAAABBBCCDAABBB') --> A B C D
    # unique_everseen('ABBCcAD', str.lower) --> A B C D
    seen: Set[Union[_T, _U]] = set()
    seen_add = seen.add
    if key is None:
        for element in filterfalse(seen.__contains__, iterable):
            seen_add(element)
            yield element
    else:
        for element in iterable:
            k = key(element)
            if k not in seen:
                seen_add(k)
                yield element


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
10 Feb 2026 9.36 AM
root / linksafe
0755
__pycache__
--
10 Feb 2026 9.36 AM
root / linksafe
0755
__init__.py
0.494 KB
9 Oct 2025 4.16 PM
root / linksafe
0644
_adapters.py
4.398 KB
9 Oct 2025 4.16 PM
root / linksafe
0644
_common.py
2.823 KB
9 Oct 2025 4.16 PM
root / linksafe
0644
_itertools.py
0.863 KB
9 Oct 2025 4.16 PM
root / linksafe
0644
_legacy.py
3.412 KB
9 Oct 2025 4.16 PM
root / linksafe
0644
abc.py
4.464 KB
9 Oct 2025 4.16 PM
root / linksafe
0644
readers.py
3.474 KB
9 Oct 2025 4.16 PM
root / linksafe
0644
simple.py
3.05 KB
9 Oct 2025 4.16 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF