Home
last modified time | relevance | path

Searched defs:__new__ (Results 1 – 25 of 110) sorted by relevance

12345

/third_party/python/Lib/test/
Dtest_super.py151 def __new__(cls, name, bases, namespace): member in TestSuper.test___class___new.Meta
169 def __new__(cls, name, bases, namespace): member in TestSuper.test___class___delayed.Meta
204 def __new__(cls, name, bases, namespace): member in TestSuper.test___classcell___expected_behaviour.Meta
237 def __new__(cls, name, bases, namespace): member in TestSuper.test___classcell___missing.Meta
259 def __new__(cls, name, bases, namespace, cell): member in TestSuper.test___classcell___overwrite.Meta
273 def __new__(cls, name, bases, namespace): member in TestSuper.test___classcell___wrong_cell.Meta
Dtest_subclassinit.py117 def __new__(cls, name, bases, ns): member in Test.test_set_name_metaclass.Meta
181 def __new__(cls, name, bases, ns): member in Test.test_set_name_init_subclass.Meta
239 def __new__(cls, name, bases, namespace, otherarg): member in Test.test_errors.MyMeta
254 def __new__(cls, name, bases, namespace): member in Test.test_errors_changed_pep487.MyMeta
263 def __new__(cls, name, bases, namespace, otherarg): member in Test.test_errors_changed_pep487.MyMeta
Dann_module.py44 def __new__(meta, name, bases, namespace): member in Meta
Dtest_descr.py270 def __new__(cls, *args, **kwds): member in OperatorsTest.test_complexes.Number
495 def __new__(cls, name, bases, dict): member in ClassPropertiesAndMethods.test_metaclass.M1
508 def __new__(cls, name, bases, dict): member in ClassPropertiesAndMethods.test_metaclass.M2
536 def __new__(metaclass, name, bases, dict): member in ClassPropertiesAndMethods.test_metaclass.autosuper
569 def __new__(metaclass, name, bases, dict): member in ClassPropertiesAndMethods.test_metaclass.autoproperty
635 def __new__(*args, **kwargs): member in ClassPropertiesAndMethods.test_metaclass.A
653 def __new__(mcls, name, bases, ns): member in ClassPropertiesAndMethods.test_metaclass.AMeta
662 def __new__(mcls, name, bases, ns): member in ClassPropertiesAndMethods.test_metaclass.BMeta
729 def __new__(mcls, *args, **kwargs): member in ClassPropertiesAndMethods.test_metaclass.ANotMeta
737 def __new__(mcls, *args, **kwargs): member in ClassPropertiesAndMethods.test_metaclass.BNotMeta
[all …]
Dtest_copy.py44 def __new__(cls, foo): member in TestCopy.test_copy_registry.C
194 def __new__(cls, foo): member in TestCopy.test_copy_inst_getnewargs.C
211 def __new__(cls, *, foo): member in TestCopy.test_copy_inst_getnewargs_ex.C
306 def __new__(cls, foo): member in TestCopy.test_deepcopy_registry.C
490 def __new__(cls, foo): member in TestCopy.test_deepcopy_inst_getnewargs.C
508 def __new__(cls, *, foo): member in TestCopy.test_deepcopy_inst_getnewargs_ex.C
Dtest_types.py1161 def __new__(mcls, name, bases, ns, **kw): member in ClassCreationTests.Meta
1306 def __new__(*args, **kwargs): member in ClassCreationTests.test_prepare_class.A
1374 def __new__(mcls, name, bases, ns): member in ClassCreationTests.test_metaclass_derivation.AMeta
1382 def __new__(mcls, name, bases, ns): member in ClassCreationTests.test_metaclass_derivation.BMeta
1447 def __new__(mcls, *args, **kwargs): member in ClassCreationTests.test_metaclass_override_callable.ANotMeta
1456 def __new__(mcls, *args, **kwargs): member in ClassCreationTests.test_metaclass_override_callable.BNotMeta
1548 def __new__(cls, name, bases, attrs): member in ClassCreationTests.test_metaclass_new_error.ModelBase
Dtest_enum.py221 def __new__(cls, value, description=""): member in TestEnum.test_dir_on_sub_with_behavior_including_instance_dict_on_super.SuperEnum
648 def __new__(cls, value): member in TestEnum.test_inherited_data_type.BrokenInt
1205 def __new__(metacls, cls, bases, classdict): member in TestEnum.test_multiple_mixin_mro.auto_enum
1243 def __new__(cls, *args): member in TestEnum.test_subclasses_with_getnewargs.NamedInt
1300 def __new__(cls, *args): member in TestEnum.test_subclasses_with_getnewargs_ex.NamedInt
1357 def __new__(cls, *args): member in TestEnum.test_subclasses_with_reduce.NamedInt
1414 def __new__(cls, *args): member in TestEnum.test_subclasses_with_reduce_ex.NamedInt
1471 def __new__(cls, *args): member in TestEnum.test_subclasses_without_direct_pickle_support.NamedInt
1524 def __new__(cls, *args): member in TestEnum.test_subclasses_without_direct_pickle_support_using_name.NamedInt
1593 def __new__(cls): member in TestEnum.test_duplicate_values_give_unique_enum_items.AutoNumber
[all …]
Dtest_exception_hierarchy.py19 def __new__(cls, message, baz): member in SubOSErrorWithNew
/third_party/protobuf/python/google/protobuf/
Ddescriptor.py80 def __new__(cls): member in _Lock
289 def __new__(cls, name, full_name, filename, containing_type, fields, member in Descriptor
536 def __new__(cls, name, full_name, index, number, type, cpp_type, label, member in FieldDescriptor
654 def __new__(cls, name, full_name, filename, values, member in EnumDescriptor
714 def __new__(cls, name, index, number, member in EnumValueDescriptor
757 def __new__( member in OneofDescriptor
801 def __new__(cls, name, full_name, index, methods, options=None, member in ServiceDescriptor
866 def __new__(cls, name, full_name, index, containing_service, member in MethodDescriptor
927 def __new__(cls, name, package, options=None, member in FileDescriptor
/third_party/python/Lib/ctypes/test/
Dtest_init.py9 def __new__(cls): member in X
/third_party/littlefs/scripts/
Dsummary.py50 def __new__(cls, x=0): member in Int
128 def __new__(cls, x=0.0): member in Float
169 def __new__(cls, a=0, b=None): member in Frac
312 def __new__(cls, **r): function
Dcov.py34 def __new__(cls, x=0): member in Int
112 def __new__(cls, a=0, b=None): member in Frac
189 def __new__(cls, file='', function='', line=0, member in CovResult
Ddata.py34 def __new__(cls, x=0): member in Int
119 def __new__(cls, file='', function='', size=0): member in DataResult
Dcode.py34 def __new__(cls, x=0): member in Int
119 def __new__(cls, file='', function='', size=0): member in CodeResult
Dstructs.py30 def __new__(cls, x=0): member in Int
113 def __new__(cls, file='', struct='', size=0): member in StructResult
Dstack.py25 def __new__(cls, x=0): member in Int
109 def __new__(cls, file='', function='', member in StackResult
Dperfbd.py34 def __new__(cls, x=0): member in Int
120 def __new__(cls, file='', function='', line=0, member in PerfBdResult
/third_party/python/Lib/importlib/metadata/
D_adapters.py30 def __new__(cls, orig: email.message.Message): member in Message
/third_party/python/Lib/
D_py_abc.py35 def __new__(mcls, name, bases, namespace, /, **kwargs): member in ABCMeta
D_threading_local.py207 def __new__(cls, /, *args, **kw): member in local
Dabc.py105 def __new__(mcls, name, bases, namespace, **kwargs): member in ABCMeta
Dast.py552 __new__ = _new variable in Num
556 __new__ = _new variable in Str
560 __new__ = _new variable in Bytes
563 __new__ = _new variable in NameConstant
568 def __new__(cls, *args, **kwargs): member in Ellipsis
600 def __new__(cls, value, **kwargs): member in Index
605 def __new__(cls, dims=(), **kwargs): member in ExtSlice
Dsre_constants.py57 def __new__(cls, value, name): member in _NamedIntConstant
/third_party/mbedtls/scripts/mbedtls_dev/
Dtest_data_generation.py60 def __new__(cls, *args, **kwargs): member in BaseTest
/third_party/node/tools/inspector_protocol/jinja2/
D_compat.py91 def __new__(cls, name, this_bases, d): member in with_metaclass.metaclass

12345