mirror of
https://github.com/davidhalter/jedi.git
synced 2026-11-04 21:02:51 +08:00
Add basic yield from type inference. References #647.
This commit is contained in:
1 parent
5280f567f9
commit
e0cb1346e1
4 files changed
+43
-6
No files matched your search
+2
-2
@@ -240,8 +240,8 @@ def skip_python_version(line):
|
||||
'==': 'eq',
|
||||
'<=': 'le',
|
||||
'>=': 'ge',
|
||||
'<': 'gk',
|
||||
'>': 'lt',
|
||||
'<': 'lt',
|
||||
'>': 'gt',
|
||||
}
|
||||
# check for python minimal version number
|
||||
match = re.match(r" *# *python *([<>]=?|==) *(\d+(?:\.\d+)?)$", line)
|
||||
|
||||
Reference in new issue
Block a user