Add basic yield from type inference. References #647.

This commit is contained in:
Dave Halter
2016-07-09 02:33:16 +02:00
parent 5280f567f9
commit e0cb1346e1
4 changed files with 43 additions and 6 deletions

View File

@@ -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)