HEX
Server: Apache
System: Linux srv4.garantili.com.tr 4.18.0-477.21.1.lve.1.el8.x86_64 #1 SMP Tue Sep 5 23:08:35 UTC 2023 x86_64
User: ekspardev (1006)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //opt/alt/python37/lib64/python3.7/site-packages/psycopg2/compat.py
import sys

__all__ = ['string_types', 'text_type', 'lru_cache']

if sys.version_info[0] == 2:
    # Python 2
    PY2 = True
    PY3 = False
    string_types = basestring,
    text_type = unicode
    from ._lru_cache import lru_cache

else:
    # Python 3
    PY2 = False
    PY3 = True
    string_types = str,
    text_type = str
    from functools import lru_cache