Searched refs:adict (Results 1 – 10 of 10) sorted by relevance
/external/python/cpython3/Lib/tkinter/test/test_ttk/ |
D | test_functions.py | 433 adict = {'opt': 'välúè'} 434 self.assertEqual(ttk.tclobjs_to_py(adict), {'opt': 'välúè'}) 436 adict['opt'] = MockTclObj(adict['opt']) 437 self.assertEqual(ttk.tclobjs_to_py(adict), {'opt': 'välúè'}) 440 adict = {'opt': [1, 2, 3, 4]} 441 self.assertEqual(ttk.tclobjs_to_py(adict), {'opt': [1, 2, 3, 4]}) 443 adict['opt'] = [1, 'xm', 3] 444 self.assertEqual(ttk.tclobjs_to_py(adict), {'opt': [1, 'xm', 3]}) 446 adict['opt'] = (MockStateSpec('a', 'b'), 'válũè') 447 self.assertEqual(ttk.tclobjs_to_py(adict),
|
/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/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 | 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/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/test/ |
D | test_gc.py | 473 adict = {1: 3, 5: 7} 475 got = gc.get_referents(adict)
|
/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/test/ |
D | test_gc.py | 513 adict = {1: 3, 5: 7} 515 got = gc.get_referents(adict)
|
/external/python/cpython3/Lib/http/ |
D | cookiejar.py | 1210 def vals_sorted_by_key(adict): argument 1211 keys = sorted(adict.keys()) 1212 return map(adict.get, keys)
|