Add some more tests to check if getitem on stuff like dict(f=3) works

This commit is contained in:
Dave Halter
2019-12-31 19:04:37 +01:00
parent 5853c67906
commit cf26ede702

View File

@@ -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']