forked from upstream/UXP-mirror
reduce is moved to functools, urllib reogranized. 2to3 . --fix urllib -wpn 2to3 . --fix reduce -wpn 2to3 . --fix import -wpn 2to3 . --fix imports -wpn 2to3 . --fix imports2 -wpn Ref: PEP 3108, PEP 3100 https://peps.python.org/pep-3108/ https://peps.python.org/pep-3100/
10 lines
153 B
Python
10 lines
153 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
from rsa._compat import have_python3
|
|
|
|
if have_python3:
|
|
from .py3kconstants import *
|
|
else:
|
|
from .py2kconstants import *
|
|
|