File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828
2929import sys
3030
31- __docformat__ = ' restructuredtext'
31+ __docformat__ = " restructuredtext"
3232
33- PYTHON3 = (sys .version_info >= (3 , 0 ))
33+ from uncompyle6 .version import VERSION
34+
35+ __version__ = VERSION
36+
37+ PYTHON3 = sys .version_info >= (3 , 0 )
3438
3539# We do this crazy way to support Python 2.6 which
3640# doesn't support version_major, and has a bug in
3741# floating point so we can't divide 26 by 10 and get
3842# 2.6
3943PYTHON_VERSION = sys .version_info [0 ] + (sys .version_info [1 ] / 10.0 )
40- PYTHON_VERSION_STR = "%s.%s" % (sys .version_info [0 ], sys .version_info [1 ])
44+ PYTHON_VERSION_STR = "%s.%s" % (sys .version_info [0 ], sys .version_info [1 ])
4145
42- IS_PYPY = ' __pypy__' in sys .builtin_module_names
46+ IS_PYPY = " __pypy__" in sys .builtin_module_names
4347
44- if hasattr (sys , ' setrecursionlimit' ):
48+ if hasattr (sys , " setrecursionlimit" ):
4549 # pyston doesn't have setrecursionlimit
4650 sys .setrecursionlimit (5000 )
4751
You can’t perform that action at this time.
0 commit comments