HEX
Server: Apache
System: Linux s198.coreserver.jp 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC 2025 x86_64
User: nagasaki (10062)
PHP: 7.1.33
Disabled: NONE
Upload Files
File: //snap/core20/2582/lib/python3/dist-packages/pyrsistent/_compat.py
from six import string_types


# enum compat
try:
    from enum import Enum
except:
    class Enum(object): pass
    # no objects will be instances of this class

# collections compat
try:
    from collections.abc import (
        Container,
        Hashable,
        Iterable,
        Mapping,
        Sequence,
        Set,
        Sized,
    )
except ImportError:
    from collections import (
        Container,
        Hashable,
        Iterable,
        Mapping,
        Sequence,
        Set,
        Sized,
    )