mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-09 14:05:47 +08:00
Fix python 2 string iterators.
This commit is contained in:
1 parent
ba8a3215f2
commit
da1a163da7
4 files changed
+21
-2
No files matched your search
@@ -89,6 +89,9 @@ b = [b for arr in [[[1.0]]] for a in arr for b in a]
|
||||
#? float()
|
||||
b[0]
|
||||
|
||||
#? str()
|
||||
[x for x in 'chr'][0]
|
||||
|
||||
# jedi issue #26
|
||||
#? list()
|
||||
a = [[int(v) for v in line.strip().split() if v] for line in ["123", "123", "123"] if line]
|
||||
|
||||
Reference in new issue
Block a user