Hacked By AnonymousFox

Current Path : /opt/alt/python37/lib64/python3.7/site-packages/pyrsistent/
Upload File :
Current File : //opt/alt/python37/lib64/python3.7/site-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,
    )

Hacked By AnonymousFox1.0, Coded By AnonymousFox