mirror of
https://github.com/davidhalter/jedi.git
synced 2026-09-17 15:33:13 +08:00
Some python 2.7 (and 3.3) compatibility improvements.
This commit is contained in:
@@ -13,6 +13,7 @@ except ImportError:
|
||||
|
||||
is_py3 = sys.version_info[0] >= 3
|
||||
is_py33 = is_py3 and sys.version_info.minor >= 3
|
||||
is_py34 = is_py3 and sys.version_info.minor >= 4
|
||||
is_py35 = is_py3 and sys.version_info.minor >= 5
|
||||
is_py26 = not is_py3 and sys.version_info[1] < 7
|
||||
|
||||
|
||||
Reference in New Issue
Block a user