Searched refs:adict (Results 1 – 10 of 10) sorted by relevance
/external/python/cpython2/Lib/lib-tk/test/test_ttk/ |
D | test_functions.py | 438 adict = {'opt': u'välúè'} 439 self.assertEqual(ttk.tclobjs_to_py(adict), {'opt': u'välúè'}) 441 adict['opt'] = MockTclObj(adict['opt']) 442 self.assertEqual(ttk.tclobjs_to_py(adict), {'opt': u'välúè'}) 445 adict = {'opt': [1, 2, 3, 4]} 446 self.assertEqual(ttk.tclobjs_to_py(adict), {'opt': [1, 2, 3, 4]}) 448 adict['opt'] = [1, 'xm', 3] 449 self.assertEqual(ttk.tclobjs_to_py(adict), {'opt': [1, 'xm', 3]}) 451 adict['opt'] = (MockStateSpec('a', 'b'), u'válũè') 452 self.assertEqual(ttk.tclobjs_to_py(adict),
|
/external/python/cpython3/Lib/tkinter/test/test_ttk/ |
D | test_functions.py | 432 adict = {'opt': 'välúè'} 433 self.assertEqual(ttk.tclobjs_to_py(adict), {'opt': 'välúè'}) 435 adict['opt'] = MockTclObj(adict['opt']) 436 self.assertEqual(ttk.tclobjs_to_py(adict), {'opt': 'välúè'}) 439 adict = {'opt': [1, 2, 3, 4]} 440 self.assertEqual(ttk.tclobjs_to_py(adict), {'opt': [1, 2, 3, 4]}) 442 adict['opt'] = [1, 'xm', 3] 443 self.assertEqual(ttk.tclobjs_to_py(adict), {'opt': [1, 'xm', 3]}) 445 adict['opt'] = (MockStateSpec('a', 'b'), 'válũè') 446 self.assertEqual(ttk.tclobjs_to_py(adict),
|
/external/python/cpython2/Lib/lib-tk/ |
D | ttk.py | 337 def tclobjs_to_py(adict): argument 340 for opt, val in adict.items(): 341 adict[opt] = _tclobj_to_py(val) 343 return adict
|
/external/python/cpython3/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
|
/external/python/cpython2/Lib/test/ |
D | test_gc.py | 473 adict = {1: 3, 5: 7} 475 got = gc.get_referents(adict)
|
/external/python/cpython3/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()
|
/external/python/cpython2/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()
|
/external/python/cpython2/Lib/ |
D | cookielib.py | 1191 def vals_sorted_by_key(adict): argument 1192 keys = adict.keys() 1194 return map(adict.get, keys)
|
/external/python/cpython3/Lib/http/ |
D | cookiejar.py | 1219 def vals_sorted_by_key(adict): argument 1220 keys = sorted(adict.keys()) 1221 return map(adict.get, keys)
|
/external/python/cpython3/Lib/test/ |
D | test_gc.py | 529 adict = {1: 3, 5: 7} 531 got = gc.get_referents(adict)
|