Home
last modified time | relevance | path

Searched refs:adict (Results 1 – 5 of 5) sorted by relevance

/third_party/python/Lib/test/
Dtest_ttk_textonly.py437 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),
Dtest_gc.py530 adict = {1: 3, 5: 7}
532 got = gc.get_referents(adict)
/third_party/python/Lib/tkinter/
Dttk.py336 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/
Dcfield.c113 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/
Dcookiejar.py1227 def vals_sorted_by_key(adict): argument
1228 keys = sorted(adict.keys())
1229 return map(adict.get, keys)