1
0
forked from VimPlug/jedi

list() builtin is working better now

This commit is contained in:
David Halter
2012-08-06 21:26:05 +02:00
parent 6ae98ba2f6
commit bef8fca57d
3 changed files with 18 additions and 2 deletions

View File

@@ -24,6 +24,21 @@ for a4, (b4, c4) in (1,("", list)), (1,("", list)):
#? list
c4
a = []
for i in [1,'']:
a += [i]
#? int() str()
a[0]
a = []
b = [1.0,'']
for i in b:
a += [i]
#? float() str()
a[0]
# -----------------
# list comprehensions
# -----------------