Home | Trees | Indices | Help |
---|
|
1 # Python 2 / Python 3 compatibility helpers. 2 3 import sys 4 5 # In Python 2.6, sys.version_info is not a namedtuple, so we can't use 6 # sys.version_info.major. 7 is_py3 = (sys.version_info[0] == 3) 8 is_py2 = not is_py3 9
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Mar 23 11:13:21 2018 | http://epydoc.sourceforge.net |