Searched refs:spamdict (Results 1 – 1 of 1) sorted by relevance
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_descr.py | 349 def spamdict(d, memo=None): function 351 sd = spam.spamdict() 356 copy._deepcopy_dispatch[spam.spamdict] = spamdict 358 self.binop_test(spamdict({1:2}), spamdict({2:1}), -1, "cmp(a,b)", 360 self.binop_test(spamdict({1:2,3:4}), 1, 1, "b in a", "__contains__") 361 self.binop_test(spamdict({1:2,3:4}), 2, 0, "b in a", "__contains__") 362 self.binop_test(spamdict({1:2,3:4}), 1, 2, "a[b]", "__getitem__") 363 d = spamdict({1:2,3:4}) 376 for i in type(spamdict({})).__iter__(d): 380 spamd = spamdict(straightd) [all …]
|