Searched refs:adict (Results 1 – 5 of 5) sorted by relevance
/third_party/python/Lib/test/ |
D | test_ttk_textonly.py | 437 adict = {'opt': 'välúè'} 438 self.assertEqual(ttk.tclobjs_to_py(adict), {'opt': 'välúè'}) 440 adict['opt'] = MockTclObj(adict['opt']) 441 self.assertEqual(ttk.tclobjs_to_py(adict), {'opt': 'välúè'}) 444 adict = {'opt': [1, 2, 3, 4]} 445 self.assertEqual(ttk.tclobjs_to_py(adict), {'opt': [1, 2, 3, 4]}) 447 adict['opt'] = [1, 'xm', 3] 448 self.assertEqual(ttk.tclobjs_to_py(adict), {'opt': [1, 'xm', 3]}) 450 adict['opt'] = (MockStateSpec('a', 'b'), 'válũè') 451 self.assertEqual(ttk.tclobjs_to_py(adict),
|
D | test_gc.py | 530 adict = {1: 3, 5: 7} 532 got = gc.get_referents(adict)
|
/third_party/python/Lib/tkinter/ |
D | ttk.py | 336 def tclobjs_to_py(adict): argument 339 for opt, val in adict.items(): 340 adict[opt] = _tclobj_to_py(val) 342 return adict
|
/third_party/python/Modules/_ctypes/ |
D | cfield.c | 113 StgDictObject *adict = PyType_stgdict(proto); in PyCField_FromDesc() local 115 if (adict && adict->proto) { in PyCField_FromDesc() 116 idict = PyType_stgdict(adict->proto); in PyCField_FromDesc()
|
/third_party/python/Lib/http/ |
D | cookiejar.py | 1227 def vals_sorted_by_key(adict): argument 1228 keys = sorted(adict.keys()) 1229 return map(adict.get, keys)
|