/external/python/cpython2/Lib/test/crashers/ |
D | borrowed_ref_1.py | 12 del D.__missing__ 15 class __missing__: class in D
|
/external/python/cpython3/Lib/test/ |
D | test_userdict.py | 177 def __missing__(self, key): member in UserDictTest.test_missing.D 186 def __missing__(self, key): member in UserDictTest.test_missing.E 198 self.__missing__ = lambda key: None
|
D | test_defaultdict.py | 54 self.assertRaises(KeyError, d1.__missing__, 42) 56 self.assertEqual(d1.__missing__(42), [])
|
D | test_dict.py | 663 def __missing__(self, key): member in DictTest.test_missing.D 673 def __missing__(self, key): member in DictTest.test_missing.E 683 self.__missing__ = lambda key: None
|
D | test_ordered_dict.py | 255 def __missing__(self, key): member in OrderedDictTests.test_pop.Missing 388 def __missing__(self, key): member in OrderedDictTests.test_setdefault.Missing
|
/external/python/cpython2/Lib/test/ |
D | test_defaultdict.py | 54 self.assertRaises(KeyError, d1.__missing__, 42) 56 self.assertEqual(d1.__missing__(42), [])
|
D | test_userdict.py | 193 def __missing__(self, key): member in UserDictTest.test_missing.D 202 def __missing__(self, key): member in UserDictTest.test_missing.E 214 self.__missing__ = lambda key: None
|
D | test_ordered_dict.py | 143 def __missing__(self, key): member in TestOrderedDict.test_pop.Missing 250 def __missing__(self, key): member in TestOrderedDict.test_setdefault.Missing
|
D | test_dict.py | 460 def __missing__(self, key): member in DictTest.test_missing.D 470 def __missing__(self, key): member in DictTest.test_missing.E 480 self.__missing__ = lambda key: None
|
/external/python/cpython3/Lib/email/ |
D | _encoded_words.py | 77 def __missing__(self, key): member in _QByteMap
|
/external/fonttools/Lib/fontTools/misc/ |
D | testTools.py | 132 def __missing__(reverseDict, key): member in MockFont.__init__.AllocatingDict
|
D | symfont.py | 54 def __missing__(self, i): member in _BezierFuncsLazy
|
/external/python/cpython3/Lib/collections/ |
D | __init__.py | 568 def __missing__(self, key): member in Counter 905 def __missing__(self, key): member in ChainMap 914 return self.__missing__(key) # support subclasses that define __missing__ 1024 return self.__class__.__missing__(self, key)
|
/external/fonttools/Lib/fontTools/cffLib/ |
D | width.py | 16 def __missing__(self, v): member in missingdict
|
/external/python/cpython2/Lib/ |
D | UserDict.py | 39 return self.__class__.__missing__(self, key)
|
D | collections.py | 479 def __missing__(self, key): member in Counter
|
/external/python/cpython3/Lib/idlelib/ |
D | pyparse.py | 114 def __missing__(self, key): member in ParseMap
|
/external/fonttools/Lib/fontTools/varLib/ |
D | varStore.py | 388 def __missing__(self, chars): member in _EncodingDict
|
/external/python/cpython2/Doc/library/ |
D | collections.rst | 460 .. method:: __missing__(key) 476 Note that :meth:`__missing__` is *not* called for any operations besides 487 This attribute is used by the :meth:`__missing__` method; it is
|
D | stdtypes.rst | 2105 .. index:: __missing__() 2107 If a subclass of dict defines a method :meth:`__missing__` and *key* 2110 returned or raised by the ``__missing__(key)`` call. 2111 No other operations or methods invoke :meth:`__missing__`. If 2112 :meth:`__missing__` is not defined, :exc:`KeyError` is raised. 2113 :meth:`__missing__` must be a method; it cannot be an instance variable:: 2116 ... def __missing__(self, key): 2126 :class:`collections.Counter`. A different ``__missing__`` method is used 2130 Recognition of __missing__ methods of dict subclasses.
|
/external/python/cpython3/Lib/urllib/ |
D | parse.py | 773 def __missing__(self, b): member in Quoter
|
/external/python/cpython2/Lib/sqlite3/test/ |
D | dbapi.py | 269 def __missing__(self, key): member in CursorTests.CheckExecuteDictMapping_Mapping.D
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | E_B_D_T_.py | 235 def __missing__(self, key): member in _memoize.memodict
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.7.10rc1.rst | 685 Improve the documentation and indexing of dict.__missing__. Add an entry in
|
/external/python/cpython3/Lib/sqlite3/test/ |
D | dbapi.py | 299 def __missing__(self, key): member in CursorTests.CheckExecuteDictMapping_Mapping.D
|