Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/lib-tk/test/test_ttk/
Dtest_functions.py438 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/
Dtest_functions.py432 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/
Dttk.py337 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/
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
/external/python/cpython2/Lib/test/
Dtest_gc.py473 adict = {1: 3, 5: 7}
475 got = gc.get_referents(adict)
/external/python/cpython3/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()
/external/python/cpython2/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()
/external/python/cpython2/Lib/
Dcookielib.py1191 def vals_sorted_by_key(adict): argument
1192 keys = adict.keys()
1194 return map(adict.get, keys)
/external/python/cpython3/Lib/http/
Dcookiejar.py1219 def vals_sorted_by_key(adict): argument
1220 keys = sorted(adict.keys())
1221 return map(adict.get, keys)
/external/python/cpython3/Lib/test/
Dtest_gc.py529 adict = {1: 3, 5: 7}
531 got = gc.get_referents(adict)