aboutsummaryrefslogtreecommitdiffhomepage
path: root/libs/pytz_deprecation_shim/_compat.py
blob: 5b734592359c46dcfe5f0acf230707ebc71db851 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import sys

if sys.version_info[0] == 2:
    from . import _compat_py2 as _compat_impl
else:
    from . import _compat_py3 as _compat_impl

UTC = _compat_impl.UTC
get_timezone = _compat_impl.get_timezone
get_timezone_file = _compat_impl.get_timezone_file
get_fixed_offset_zone = _compat_impl.get_fixed_offset_zone
is_ambiguous = _compat_impl.is_ambiguous
is_imaginary = _compat_impl.is_imaginary
enfold = _compat_impl.enfold
get_fold = _compat_impl.get_fold