1
0
forked from VimPlug/jedi

Dicts should be iterated by its keys (__iter__).

This commit is contained in:
Dave Halter
2015-11-28 16:08:38 +01:00
parent 09f7930104
commit 9259a432b7
2 changed files with 12 additions and 6 deletions

View File

@@ -234,6 +234,11 @@ dic = {str(key): ''}
#? str()
dic['']
for x in {1: 3.0, '': 1j}:
#? int() str()
x
# -----------------
# with variable as index
# -----------------