mirror of
https://github.com/davidhalter/jedi.git
synced 2026-11-04 21:22: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
@@ -177,6 +177,13 @@ left, right = (i for i in (1, ''))
|
||||
#? int()
|
||||
left
|
||||
|
||||
gen = (i for i in (1,))
|
||||
|
||||
#? int()
|
||||
next(gen)
|
||||
#?
|
||||
gen[0]
|
||||
|
||||
# -----------------
|
||||
# ternary operator
|
||||
# -----------------
|
||||
|
||||
Reference in new issue
Block a user