/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/crashers/ |
borrowed_ref_1.py | 12 del D.__missing__
15 class __missing__:
class in class:D
|
/external/python/cpython2/Lib/test/crashers/ |
borrowed_ref_1.py | 12 del D.__missing__ 15 class __missing__: class in class:D
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_defaultdict.py | 54 self.assertRaises(KeyError, d1.__missing__, 42)
56 self.assertEqual(d1.__missing__(42), [])
|
test_userdict.py | 152 # Make sure UserDict doesn't have a __missing__ method
153 self.assertEqual(hasattr(UserDict, "__missing__"), False)
155 # (D) subclass defines __missing__ method returning a value
156 # (E) subclass defines __missing__ method raising RuntimeError
157 # (F) subclass sets __missing__ instance variable (no effect)
158 # (G) subclass doesn't define __missing__ at a all
160 def __missing__(self, key):
member in class:UserDictTest.test_missing.D 169 def __missing__(self, key):
member in class:UserDictTest.test_missing.E 180 # An instance variable __missing__ should have no effect
181 self.__missing__ = lambda key: None [all...] |
test_dict.py | 414 # Make sure dict doesn't have a __missing__ method
415 self.assertFalse(hasattr(dict, "__missing__"))
416 self.assertFalse(hasattr({}, "__missing__"))
418 # (D) subclass defines __missing__ method returning a value
419 # (E) subclass defines __missing__ method raising RuntimeError
420 # (F) subclass sets __missing__ instance variable (no effect)
421 # (G) subclass doesn't define __missing__ at a all
423 def __missing__(self, key):
member in class:DictTest.test_missing.D 433 def __missing__(self, key):
member in class:DictTest.test_missing.E 442 # An instance variable __missing__ should have no effect [all...] |
/external/python/cpython2/Lib/test/ |
test_defaultdict.py | 54 self.assertRaises(KeyError, d1.__missing__, 42) 56 self.assertEqual(d1.__missing__(42), [])
|
test_userdict.py | 185 # Make sure UserDict doesn't have a __missing__ method 186 self.assertEqual(hasattr(UserDict, "__missing__"), False) 188 # (D) subclass defines __missing__ method returning a value 189 # (E) subclass defines __missing__ method raising RuntimeError 190 # (F) subclass sets __missing__ instance variable (no effect) 191 # (G) subclass doesn't define __missing__ at all 193 def __missing__(self, key): member in class:UserDictTest.test_missing.D 202 def __missing__(self, key): member in class:UserDictTest.test_missing.E 213 # An instance variable __missing__ should have no effect 214 self.__missing__ = lambda key: Non [all...] |
test_ordered_dict.py | 141 # make sure pop still works when __missing__ is defined 143 def __missing__(self, key): member in class:TestOrderedDict.test_pop.Missing 235 # make sure setdefault still works when __missing__ is defined 237 def __missing__(self, key): member in class:TestOrderedDict.test_setdefault.Missing
|
test_dict.py | 444 # Make sure dict doesn't have a __missing__ method 445 self.assertFalse(hasattr(dict, "__missing__")) 446 self.assertFalse(hasattr({}, "__missing__")) 448 # (D) subclass defines __missing__ method returning a value 449 # (E) subclass defines __missing__ method raising RuntimeError 450 # (F) subclass sets __missing__ instance variable (no effect) 451 # (G) subclass doesn't define __missing__ at all 453 def __missing__(self, key): member in class:DictTest.test_missing.D 463 def __missing__(self, key): member in class:DictTest.test_missing.E 472 # An instance variable __missing__ should have no effec [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_defaultdict.py | 54 self.assertRaises(KeyError, d1.__missing__, 42) 56 self.assertEqual(d1.__missing__(42), [])
|
test_userdict.py | 152 # Make sure UserDict doesn't have a __missing__ method 153 self.assertEqual(hasattr(UserDict, "__missing__"), False) 155 # (D) subclass defines __missing__ method returning a value 156 # (E) subclass defines __missing__ method raising RuntimeError 157 # (F) subclass sets __missing__ instance variable (no effect) 158 # (G) subclass doesn't define __missing__ at a all 160 def __missing__(self, key): member in class:UserDictTest.test_missing.D 169 def __missing__(self, key): member in class:UserDictTest.test_missing.E 180 # An instance variable __missing__ should have no effect 181 self.__missing__ = lambda key: Non [all...] |
test_dict.py | 442 # Make sure dict doesn't have a __missing__ method 443 self.assertFalse(hasattr(dict, "__missing__")) 444 self.assertFalse(hasattr({}, "__missing__")) 446 # (D) subclass defines __missing__ method returning a value 447 # (E) subclass defines __missing__ method raising RuntimeError 448 # (F) subclass sets __missing__ instance variable (no effect) 449 # (G) subclass doesn't define __missing__ at a all 451 def __missing__(self, key): member in class:DictTest.test_missing.D 461 def __missing__(self, key): member in class:DictTest.test_missing.E 470 # An instance variable __missing__ should have no effec [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_defaultdict.py | 54 self.assertRaises(KeyError, d1.__missing__, 42) 56 self.assertEqual(d1.__missing__(42), [])
|
test_userdict.py | 152 # Make sure UserDict doesn't have a __missing__ method 153 self.assertEqual(hasattr(UserDict, "__missing__"), False) 155 # (D) subclass defines __missing__ method returning a value 156 # (E) subclass defines __missing__ method raising RuntimeError 157 # (F) subclass sets __missing__ instance variable (no effect) 158 # (G) subclass doesn't define __missing__ at a all 160 def __missing__(self, key): member in class:UserDictTest.test_missing.D 169 def __missing__(self, key): member in class:UserDictTest.test_missing.E 180 # An instance variable __missing__ should have no effect 181 self.__missing__ = lambda key: Non [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_defaultdict.py | 54 self.assertRaises(KeyError, d1.__missing__, 42) 56 self.assertEqual(d1.__missing__(42), [])
|
test_userdict.py | 152 # Make sure UserDict doesn't have a __missing__ method 153 self.assertEqual(hasattr(UserDict, "__missing__"), False) 155 # (D) subclass defines __missing__ method returning a value 156 # (E) subclass defines __missing__ method raising RuntimeError 157 # (F) subclass sets __missing__ instance variable (no effect) 158 # (G) subclass doesn't define __missing__ at a all 160 def __missing__(self, key): member in class:UserDictTest.test_missing.D 169 def __missing__(self, key): member in class:UserDictTest.test_missing.E 180 # An instance variable __missing__ should have no effect 181 self.__missing__ = lambda key: Non [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_defaultdict.py | 54 self.assertRaises(KeyError, d1.__missing__, 42) 56 self.assertEqual(d1.__missing__(42), [])
|
test_userdict.py | 152 # Make sure UserDict doesn't have a __missing__ method 153 self.assertEqual(hasattr(UserDict, "__missing__"), False) 155 # (D) subclass defines __missing__ method returning a value 156 # (E) subclass defines __missing__ method raising RuntimeError 157 # (F) subclass sets __missing__ instance variable (no effect) 158 # (G) subclass doesn't define __missing__ at a all 160 def __missing__(self, key): member in class:UserDictTest.test_missing.D 169 def __missing__(self, key): member in class:UserDictTest.test_missing.E 180 # An instance variable __missing__ should have no effect 181 self.__missing__ = lambda key: Non [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
UserDict.py | 21 if hasattr(self.__class__, "__missing__"):
22 return self.__class__.__missing__(self, key)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
UserDict.py | 21 if hasattr(self.__class__, "__missing__"):
22 return self.__class__.__missing__(self, key)
|
/external/python/cpython2/Lib/ |
UserDict.py | 38 if hasattr(self.__class__, "__missing__"): 39 return self.__class__.__missing__(self, key)
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
UserDict.py | 21 if hasattr(self.__class__, "__missing__"): 22 return self.__class__.__missing__(self, key)
|
/prebuilts/gdb/linux-x86/lib/python2.7/ |
UserDict.py | 21 if hasattr(self.__class__, "__missing__"): 22 return self.__class__.__missing__(self, key)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
UserDict.py | 21 if hasattr(self.__class__, "__missing__"): 22 return self.__class__.__missing__(self, key)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
UserDict.py | 21 if hasattr(self.__class__, "__missing__"): 22 return self.__class__.__missing__(self, key)
|