mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 22:44:27 +08:00
tests for generator to tuple assignment as well as generator comprehensions
This commit is contained in:
@@ -110,6 +110,18 @@ a
|
||||
#? str() float()
|
||||
b
|
||||
|
||||
|
||||
def simple():
|
||||
yield 1
|
||||
yield ''
|
||||
|
||||
a, b = simple()
|
||||
#? int()
|
||||
a
|
||||
#? str()
|
||||
b
|
||||
|
||||
|
||||
# -----------------
|
||||
# More complicated access
|
||||
# -----------------
|
||||
|
||||
Reference in New Issue
Block a user