/external/python/dateutil/dateutil/tz/ |
D | _factories.py | 45 cls.__strong_cache.popitem(last=False) 70 cls.__strong_cache.popitem(last=False)
|
/external/python/cpython3/Lib/test/ |
D | test_ordered_dict.py | 223 self.assertEqual(od.popitem(), pairs.pop()) 225 od.popitem() 234 obj.popitem(True) 235 obj.popitem(True) 236 obj.popitem(last=True) 560 od.popitem() 581 od.popitem(last=False) 624 dict.popitem(od) 842 self.assertRaises(KeyError, d.popitem) 854 self.assertRaises(KeyError, d.popitem) [all …]
|
D | test_iterlen.py | 120 self.mutate = d.popitem 127 self.mutate = d.popitem 134 self.mutate = d.popitem
|
D | mapping_tests.py | 35 key, value = self.reference.popitem() 39 key, value = self.reference.popitem() 127 key, value = d.popitem() 131 self.assertRaises(KeyError, p.popitem) 290 self.assertRaises(KeyError, d.popitem) 291 self.assertRaises(TypeError, d.popitem, 42) 516 ka, va = ta = a.popitem() 518 kb, vb = tb = b.popitem()
|
D | test_dict_version.py | 154 self.check_version_changed(d, d.popitem) 158 d.popitem)
|
D | test_userdict.py | 141 self.assertEqual(t.popitem(), ("x", 42)) 142 self.assertRaises(KeyError, t.popitem)
|
D | test_dict.py | 453 ka, va = ta = a.popitem() 455 kb, vb = tb = b.popitem() 462 self.assertRaises(KeyError, d.popitem) 1038 item = a.popitem() # split table is combined 1072 a.__dict__.popitem() 1231 d.popitem()
|
/external/bcc/tests/python/ |
D | test_stat1.py | 63 x = self.stats.popitem() 67 (_, x) = self.stats.popitem()
|
/external/python/cpython2/Lib/test/ |
D | test_iterlen.py | 135 self.mutate = d.popitem 142 self.mutate = d.popitem 149 self.mutate = d.popitem
|
D | mapping_tests.py | 36 key, value = self.reference.popitem() 40 key, value = self.reference.popitem() 131 key, value = d.popitem() 135 self.assertRaises(KeyError, p.popitem) 297 self.assertRaises(KeyError, d.popitem) 298 self.assertRaises(TypeError, d.popitem, 42) 535 ka, va = ta = a.popitem() 537 kb, vb = tb = b.popitem()
|
D | test_ordered_dict.py | 123 self.assertEqual(od.popitem(), pairs.pop()) 125 od.popitem() 297 self.assertRaises(KeyError, d.popitem) 307 self.assertRaises(KeyError, d.popitem)
|
D | test_userdict.py | 151 self.assertEqual(t.popitem(), ("x", 42)) 152 self.assertRaises(KeyError, t.popitem) 353 k, v = s.popitem() 362 self.assertRaises(KeyError, s.popitem)
|
D | test_dict.py | 349 ka, va = ta = a.popitem() 351 kb, vb = tb = b.popitem() 358 self.assertRaises(KeyError, d.popitem)
|
/external/python/cpython2/Lib/ |
D | UserDict.py | 101 def popitem(self): member in UserDict 102 return self.data.popitem() 177 def popitem(self): member in DictMixin
|
D | weakref.py | 216 def popitem(self): member in WeakValueDictionary 220 key, wr = self.data.popitem() 470 def popitem(self): member in WeakKeyDictionary 472 key, value = self.data.popitem()
|
D | _abcoll.py | 528 def popitem(self): member in MutableMapping 544 self.popitem()
|
/external/markdown/markdown/ |
D | odict.py | 52 def popitem(self): member in OrderedDict 53 result = super(OrderedDict, self).popitem()
|
/external/starlark-go/starlark/testdata/ |
D | dict.star | 30 # dict.popitem 32 assert.eq([x7.popitem(), x7.popitem()], [("a", 1), ("b", 2)]) 33 assert.fails(x7.popitem, "empty dict")
|
/external/python/cpython3/Lib/ |
D | weakref.py | 250 def popitem(self): member in WeakValueDictionary 254 key, wr = self.data.popitem() 485 def popitem(self): member in WeakKeyDictionary 488 key, value = self.data.popitem()
|
/external/fonttools/Lib/fontTools/misc/ |
D | dictTools.py | 50 def popitem(self, *args, **kwargs): member in hashdict
|
/external/protobuf/python/google/protobuf/ |
D | message_factory.py | 159 _AddFile(file_by_name.popitem()[1])
|
/external/autotest/site_utils/rpm_control_system/ |
D | utils.py | 79 removed_key, _ = self.cache.popitem(last=False)
|
/external/python/asn1crypto/asn1crypto/ |
D | _ordereddict.py | 77 def popitem(self, last=True): member in OrderedDict
|
/external/mesa3d/scons/ |
D | gallium.py | 275 env.popitem('debug') 276 env.popitem('profile')
|
/external/python/funcsigs/funcsigs/ |
D | odict.py | 93 def popitem(self, last=True): member in OrderedDict
|