forked from VimPlug/jedi
Fix wrong types for iterate, fixes #1524
This commit is contained in:
@@ -91,7 +91,7 @@ b[0]
|
||||
#? str()
|
||||
[x for x in 'chr'][0]
|
||||
|
||||
# jedi issue #26
|
||||
# From GitHub #26
|
||||
#? list()
|
||||
a = [[int(v) for v in line.strip().split() if v] for line in ["123", str(), "123"] if line]
|
||||
#? list()
|
||||
@@ -99,6 +99,10 @@ a[0]
|
||||
#? int()
|
||||
a[0][0]
|
||||
|
||||
# From GitHub #1524
|
||||
#?
|
||||
[nothing for nothing, _ in [1]][0]
|
||||
|
||||
# -----------------
|
||||
# generator comprehensions
|
||||
# -----------------
|
||||
|
||||
Reference in New Issue
Block a user