/external/python/cpython3/Lib/test/ |
D | test_types.py | 816 def __prepare__(mcls, name, bases, **kw): member in ClassCreationTests.Meta 817 ns = super().__prepare__(name, bases) 950 def __prepare__(*args): member in ClassCreationTests.test_prepare_class.A 966 def __prepare__(*args): member in ClassCreationTests.test_bad___prepare__.BadMeta 976 def __prepare__(*args): member in ClassCreationTests.test_bad___prepare__.BadMeta 1014 def __prepare__(mcls, name, bases): member in ClassCreationTests.test_metaclass_derivation.AMeta 1022 def __prepare__(mcls, name, bases): member in ClassCreationTests.test_metaclass_derivation.BMeta 1023 ns = super().__prepare__(name, bases) 1087 def __prepare__(mcls, name, bases): member in ClassCreationTests.test_metaclass_override_callable.ANotMeta 1096 def __prepare__(mcls, name, bases): member in ClassCreationTests.test_metaclass_override_callable.BNotMeta [all …]
|
D | test_descr.py | 655 def __prepare__(mcls, name, bases): member in ClassPropertiesAndMethods.test_metaclass.AMeta 664 def __prepare__(mcls, name, bases): member in ClassPropertiesAndMethods.test_metaclass.BMeta 665 ns = super().__prepare__(name, bases) 731 def __prepare__(mcls, name, bases): member in ClassPropertiesAndMethods.test_metaclass.ANotMeta 739 def __prepare__(mcls, name, bases): member in ClassPropertiesAndMethods.test_metaclass.BNotMeta 741 return super().__prepare__(name, bases)
|
D | test_grammar.py | 375 def __prepare__(metacls, name, bases, **kwds): member in GrammarTests.test_var_annot_metaclass_semantics.CMeta
|
/external/python/enum34/enum/ |
D | __init__.py | 150 def __prepare__(metacls, cls, bases): member in EnumMeta 446 classdict = metacls.__prepare__(class_name, bases)
|
/external/python/six/ |
D | six.py | 830 def __prepare__(cls, name, this_bases): member in with_metaclass.metaclass 831 return meta.__prepare__(name, bases)
|
D | test_six.py | 757 def __prepare__(cls, name, bases): member in test_with_metaclass_prepare.Meta 758 namespace = MyDict(super().__prepare__(name, bases), cls=cls, bases=bases)
|
D | CHANGES | 9 - Pull request #178: `with_metaclass` now properly proxies `__prepare__` to the
|
/external/python/cpython3/Lib/ |
D | types.py | 127 ns = meta.__prepare__(name, bases, **kwds)
|
D | enum.py | 125 def __prepare__(metacls, cls, bases): member in EnumMeta 407 classdict = metacls.__prepare__(class_name, bases)
|
/external/python/cpython3/Doc/library/ |
D | types.rst | 62 used when the metaclass does not have a ``__prepare__`` method. 70 Introduced the ``__prepare__`` namespace hook
|
D | unittest.mock.rst | 2044 * ``__prepare__``, ``__instancecheck__``, ``__subclasscheck__``, ``__del__``
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.7.0a2.rst | 89 due to a metaclass with a bad ``__prepare__()`` method. Patch by Oren
|
D | 3.6.4rc1.rst | 151 due to a metaclass with a bad ``__prepare__()`` method. Patch by Oren
|
/external/python/cpython3/Doc/reference/ |
D | datamodel.rst | 1996 single: __prepare__ (metaclass method) 1999 is prepared. If the metaclass has a ``__prepare__`` attribute, it is called 2000 as ``namespace = metaclass.__prepare__(name, bases, **kwds)`` (where the 2002 ``__prepare__`` method should be implemented as a :func:`classmethod`. The 2003 namespace returned by ``__prepare__`` is passed in to ``__new__``, but when 2006 If the metaclass has no ``__prepare__`` attribute, then the class namespace 2012 Introduced the ``__prepare__`` namespace hook 2046 passed here are the same as those passed to ``__prepare__``).
|
/external/python/cpython3/Python/ |
D | bltinmodule.c | 14 _Py_IDENTIFIER(__prepare__);
|
/external/python/cpython3/Tools/c-analyzer/ |
D | TODO | 501 Python/bltinmodule.c:PyId___prepare__ _Py_IDENTIFIER(__prepare__)
|
D | known.tsv | 1314 Python/bltinmodule.c - PyId___prepare__ variable _Py_IDENTIFIER(__prepare__)
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.6.rst | 555 :ref:`type.__prepare__() <prepare>`) is now an insertion-order-preserving
|
D | 3.4.rst | 1985 uses of :ref:`__prepare__ <prepare>`. (Contributed by Benjamin Peterson in
|
/external/python/cpython3/Misc/ |
D | HISTORY | 12856 - Handle errors from looking up __prepare__ correctly. 17203 __prepare__ function which will be called to create the dictionary
|