mirror of
https://github.com/davidhalter/jedi.git
synced 2026-11-05 04:52:51 +08:00
tests for generator to tuple assignment as well as generator comprehensions
This commit is contained in:
1 parent
af801ef9b4
commit
9cffbef608
2 files changed
+19
No files matched your search
@@ -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