/external/python/cpython3/Lib/test/ |
D | test_types.py | 787 def __prepare__(mcls, name, bases, **kw): member in ClassCreationTests.Meta 788 ns = super().__prepare__(name, bases) 921 def __prepare__(*args): member in ClassCreationTests.test_prepare_class.A 937 def __prepare__(*args): member in ClassCreationTests.test_bad___prepare__.BadMeta 947 def __prepare__(*args): member in ClassCreationTests.test_bad___prepare__.BadMeta 985 def __prepare__(mcls, name, bases): member in ClassCreationTests.test_metaclass_derivation.AMeta 993 def __prepare__(mcls, name, bases): member in ClassCreationTests.test_metaclass_derivation.BMeta 994 ns = super().__prepare__(name, bases) 1058 def __prepare__(mcls, name, bases): member in ClassCreationTests.test_metaclass_override_callable.ANotMeta 1067 def __prepare__(mcls, name, bases): member in ClassCreationTests.test_metaclass_override_callable.BNotMeta [all …]
|
D | test_descr.py | 646 def __prepare__(mcls, name, bases): member in ClassPropertiesAndMethods.test_metaclass.AMeta 655 def __prepare__(mcls, name, bases): member in ClassPropertiesAndMethods.test_metaclass.BMeta 656 ns = super().__prepare__(name, bases) 722 def __prepare__(mcls, name, bases): member in ClassPropertiesAndMethods.test_metaclass.ANotMeta 730 def __prepare__(mcls, name, bases): member in ClassPropertiesAndMethods.test_metaclass.BNotMeta 732 return super().__prepare__(name, bases)
|
D | test_grammar.py | 348 def __prepare__(metacls, name, bases, **kwds): member in GrammarTests.test_var_annot_metaclass_semantics.CMeta
|
/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 | 120 ns = meta.__prepare__(name, bases, **kwds)
|
D | enum.py | 126 def __prepare__(metacls, cls, bases): member in EnumMeta 404 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 | 1720 * ``__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 | 152 due to a metaclass with a bad ``__prepare__()`` method. Patch by Oren
|
/external/python/cpython3/Doc/reference/ |
D | datamodel.rst | 1911 single: __prepare__ (metaclass method) 1914 is prepared. If the metaclass has a ``__prepare__`` attribute, it is called 1915 as ``namespace = metaclass.__prepare__(name, bases, **kwds)`` (where the 1918 If the metaclass has no ``__prepare__`` attribute, then the class namespace 1924 Introduced the ``__prepare__`` namespace hook 1958 passed here are the same as those passed to ``__prepare__``).
|
/external/python/cpython3/Python/ |
D | bltinmodule.c | 39 _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
|