Home
last modified time | relevance | path

Searched refs:mcls (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython2/Lib/
Dabc.py86 def __new__(mcls, name, bases, namespace): argument
87 cls = super(ABCMeta, mcls).__new__(mcls, name, bases, namespace)
/external/python/cpython3/Lib/
Dabc.py84 def __new__(mcls, name, bases, namespace, **kwargs): argument
85 cls = super().__new__(mcls, name, bases, namespace, **kwargs)
D_py_abc.py35 def __new__(mcls, name, bases, namespace, /, **kwargs): argument
36 cls = super().__new__(mcls, name, bases, namespace, **kwargs)
/external/python/cpython3/Lib/test/
Dtest_types.py813 def __new__(mcls, name, bases, ns, **kw): argument
814 return super().__new__(mcls, name, bases, ns)
816 def __prepare__(mcls, name, bases, **kw): argument
1010 def __new__(mcls, name, bases, ns): argument
1012 return super().__new__(mcls, name, bases, ns)
1014 def __prepare__(mcls, name, bases): argument
1018 def __new__(mcls, name, bases, ns): argument
1020 return super().__new__(mcls, name, bases, ns)
1022 def __prepare__(mcls, name, bases): argument
1083 def __new__(mcls, *args, **kwargs): argument
[all …]
Dtest_genericclass.py119 def __new__(mcls, name, bases, ns): argument
120 meta_args.extend([mcls, name, bases, ns])
121 return super().__new__(mcls, name, bases, ns)
Dtest_py_compile.py38 def __new__(mcls, name, bases, dct, *, source_date_epoch): argument
39 cls = super().__new__(mcls, name, bases, dct)
Dtest_descr.py651 def __new__(mcls, name, bases, ns): argument
653 return super().__new__(mcls, name, bases, ns)
655 def __prepare__(mcls, name, bases): argument
660 def __new__(mcls, name, bases, ns): argument
662 return super().__new__(mcls, name, bases, ns)
664 def __prepare__(mcls, name, bases): argument
727 def __new__(mcls, *args, **kwargs): argument
729 return super().__new__(mcls)
731 def __prepare__(mcls, name, bases): argument
735 def __new__(mcls, *args, **kwargs): argument
[all …]
Dtest_inspect.py2901 def __new__(mcls, name, bases, dct, *, foo=1): argument
2902 return super().__new__(mcls, name, bases, dct)
2919 def __new__(mcls, name, bases, dct, *, foo=1): argument
2920 return super().__new__(mcls, name, bases, dct)
2924 def __new__(mcls, name, bases, dct, *, bar=2): argument
2925 return super().__new__(mcls, name, bases, dct)
/external/python/cpython3/Doc/howto/
Ddescriptor.rst1446 def __new__(mcls, clsname, bases, mapping):
1452 return type.__new__(mcls, clsname, bases, mapping)
/external/python/cpython3/Doc/library/
Dtracemalloc.rst235 cls = super().__new__(mcls, name, bases, namespace)