1
0
forked from VimPlug/jedi

Create Comprehension.py__iter__.

This commit is contained in:
Dave Halter
2015-11-14 20:34:33 +01:00
parent 239f0d7213
commit dc2e52fd7d
4 changed files with 83 additions and 23 deletions

View File

@@ -93,6 +93,8 @@ left, right = (i for i in (1, ''))
#? int()
left
#? str()
right
gen = (i for i in (1,))
@@ -110,9 +112,11 @@ next(gen)
# issues with different formats
left, right = (i for i in
('1', '2'))
('1', 2))
#? str()
left
#? int()
right
# -----------------
# name resolution in comprehensions.