/external/python/cpython2/Lib/ |
D | abc.py | 86 def __new__(mcls, name, bases, namespace): argument 87 cls = super(ABCMeta, mcls).__new__(mcls, name, bases, namespace)
|
/external/python/cpython3/Lib/ |
D | abc.py | 84 def __new__(mcls, name, bases, namespace, **kwargs): argument 85 cls = super().__new__(mcls, name, bases, namespace, **kwargs)
|
D | _py_abc.py | 35 def __new__(mcls, name, bases, namespace, /, **kwargs): argument 36 cls = super().__new__(mcls, name, bases, namespace, **kwargs)
|
/external/python/cpython3/Lib/test/ |
D | test_types.py | 813 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 …]
|
D | test_genericclass.py | 119 def __new__(mcls, name, bases, ns): argument 120 meta_args.extend([mcls, name, bases, ns]) 121 return super().__new__(mcls, name, bases, ns)
|
D | test_py_compile.py | 38 def __new__(mcls, name, bases, dct, *, source_date_epoch): argument 39 cls = super().__new__(mcls, name, bases, dct)
|
D | test_descr.py | 651 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 …]
|
D | test_inspect.py | 2901 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/ |
D | descriptor.rst | 1446 def __new__(mcls, clsname, bases, mapping): 1452 return type.__new__(mcls, clsname, bases, mapping)
|
/external/python/cpython3/Doc/library/ |
D | tracemalloc.rst | 235 cls = super().__new__(mcls, name, bases, namespace)
|