mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 05:54:25 +08:00
Add some more tests to check if getitem on stuff like dict(f=3) works
This commit is contained in:
@@ -384,5 +384,14 @@ some_dct['y'] = tuple
|
||||
some_dct['x']
|
||||
#? int() str() list tuple
|
||||
some_dct['unknown']
|
||||
k = 'a'
|
||||
#? int()
|
||||
some_dct['a']
|
||||
some_dct[k]
|
||||
|
||||
some_other_dct = dict(some_dct, c=set)
|
||||
#? int()
|
||||
some_other_dct['a']
|
||||
#? list
|
||||
some_other_dct['x']
|
||||
#? set
|
||||
some_other_dct['c']
|
||||
|
||||
Reference in New Issue
Block a user