mirror of
https://github.com/davidhalter/jedi.git
synced 2026-11-04 22:12:51 +08:00
make generator comprehensions work
This commit is contained in:
1 parent
cd5b8aebfd
commit
af801ef9b4
4 files changed
+35
-2
No files matched your search
@@ -168,6 +168,15 @@ a[0]
|
||||
#? int()
|
||||
a[0][0]
|
||||
|
||||
# -----------------
|
||||
# generator comprehensions
|
||||
# -----------------
|
||||
|
||||
left, right = (i for i in (1, ''))
|
||||
|
||||
#? int()
|
||||
left
|
||||
|
||||
# -----------------
|
||||
# ternary operator
|
||||
# -----------------
|
||||
|
||||
Reference in new issue
Block a user