]> crepu.dev Git - config.git/blob - djavu-asus/emacs/elpa/elpy-20230803.1455/elpy/tests/compat.py
16595f66312503996848cc9f9949e0cb8df96e15
[config.git] / djavu-asus / emacs / elpa / elpy-20230803.1455 / elpy / tests / compat.py
1 """Python 2/3 compatibility definitions.
2
3 These are used by the rest of Elpy to keep compatibility definitions
4 in one place.
5
6 """
7
8 import sys
9
10
11 if sys.version_info >= (3, 0):
12 PYTHON3 = True
13 import builtins
14 from io import StringIO
15 else:
16 PYTHON3 = False
17 import __builtin__ as builtins # noqa
18 from StringIO import StringIO # noqa