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