1
0
forked from VimPlug/jedi

Update the tokenizer to include f literals and underscores. Need tests still.

This commit is contained in:
Dave Halter
2017-01-08 16:03:45 +01:00
parent 3f09f3a304
commit 00a9f1ec0a
3 changed files with 123 additions and 107 deletions

View File

@@ -12,11 +12,12 @@ try:
except ImportError:
pass
is_py3 = sys.version_info[0] >= 3
is_py3 = sys.version_info.major >= 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
py_version = int(str(sys.version_info.major) + str(sys.version_info.minor))
class DummyFile(object):