mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-13 17:48:55 +08:00
Dicts should be iterated by its keys (__iter__).
This commit is contained in:
1 parent
09f7930104
commit
9259a432b7
2 files changed
+12
-6
No files matched your search
@@ -234,6 +234,11 @@ dic = {str(key): ''}
|
||||
#? str()
|
||||
dic['']
|
||||
|
||||
|
||||
for x in {1: 3.0, '': 1j}:
|
||||
#? int() str()
|
||||
x
|
||||
|
||||
# -----------------
|
||||
# with variable as index
|
||||
# -----------------
|
||||
|
||||
Reference in new issue
Block a user