1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
| #
# encoding: UTF-8
# api: python
# type: functions
# title: Python2 and Python3 compatibility
# version: 0.1
#
# Renames some Python3 modules into their Py2 equivalent.
# Slim local alternative to `six` module.
#
import sys
# Python 2
if sys.version_info < (3,0):
| <
|
|
<
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 |
# encoding: UTF-8
# api: python
# type: functions
# title: Python2 and Python3 compatibility
# version: 0.1
#
# Renames some Python3 modules into their Py2 equivalent.
# Slim local alternative to `six` module.
import sys
# Python 2
if sys.version_info < (3,0): |