AlaK4X
Linux lhjmq-records 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64



Your IP : 18.226.186.153


Current Path : /lib/python3/dist-packages/service_identity/
Upload File :
Current File : //lib/python3/dist-packages/service_identity/_compat.py

"""
Avoid depending on any particular Python 3 compatibility approach.
"""

import sys


PY3 = sys.version_info[0] == 3
if PY3:  # pragma: nocover
    maketrans = bytes.maketrans
    text_type = str
else:  # pragma: nocover
    import string

    maketrans = string.maketrans
    text_type = unicode  # noqa