Searched defs:__new__ (Results 101 - 125 of 126) sorted by relevance
| /third_party/python/Lib/test/ | ||
| H A D | test__xxsubinterpreters.py | 114 def __new__(cls, name=None, id=None): member in Interpreter 153 def __new__(cls, action, end=None, interp=None): member in ChannelAction 204 def __new__(cls, pending=0, *, closed=False): member in ChannelState 1901 def __new__(cls, end, interp, other, extra, creator): member in ChannelCloseFixture |
| H A D | test_weakref.py | 1022 def __new__(type, ob, callback, slot1, slot2): member in SubclassableWeakrefTestCase.test_subclass_refs_with_slots.MyRef |
| H A D | test_codecs.py | 2969 def __new__(cls): member in ExceptionChainingTest.test_new_override_is_not_wrapped.CustomNew |
| H A D | test_array.py | 1287 def __new__(cls, typecode, data, offset): member in NumberTest.test_subclassing.ExaggeratingArray |
| H A D | test_unicode.py | 2393 def __new__(cls, content=""): member in UnicodeTest.test_conversion.StrSubclassToStrSubclass |
| H A D | test_types.py | 1242 def __new__(mcls, name, bases, ns, **kw): member in ClassCreationTests.Meta 1387 def __new__(*args, **kwargs): member in ClassCreationTests.test_prepare_class.A 1455 def __new__(mcls, name, bases, ns): member in ClassCreationTests.test_metaclass_derivation.AMeta 1463 def __new__(mcls, name, bases, ns): member in ClassCreationTests.test_metaclass_derivation.BMeta 1528 def __new__(mcls, *args, **kwargs): global() member in ClassCreationTests.test_metaclass_override_callable.ANotMeta 1537 def __new__(mcls, *args, **kwargs): global() member in ClassCreationTests.test_metaclass_override_callable.BNotMeta 1629 def __new__(cls, name, bases, attrs): global() member in ClassCreationTests.test_metaclass_new_error.ModelBase [all...] |
| H A D | test_functools.py | 1239 def __new__(cls, name, bases, ns): member in TestTotalOrdering.test_total_ordering_for_metaclasses_issue_44605.SortableMeta |
| H A D | test_httplib.py | 549 def __new__(cls, value, phrase, description=''): member in BasicTest.test_simple_httpstatus.CheckedHTTPStatus |
| H A D | test_set.py | 669 def __new__(cls, arg, newarg=None): member in TestSetSubclass.test_keywords_in_subclass.subclass_with_new 780 def __new__(cls, arg, newarg=None): member in TestFrozenSetSubclass.test_keywords_in_subclass.subclass_with_new |
| H A D | test_xml_etree.py | 2666 def __new__(cls, elem, *args): member in MutatingElementPath |
| H A D | datetimetester.py | 1723 def __new__(cls, *args, **kws): member in TestDate.test_subclass_date.C 1747 def __new__(cls, *args, **kwargs): member in TestDate.test_subclass_alternate_constructors.DateSubclass 2890 def __new__(cls, *args, **kws): member in TestDateTime.test_subclass_datetime.C 2915 def __new__(cls, *args, **kwargs): member in TestDateTime.test_subclass_alternate_constructors_datetime.DateTimeSubclass 2964 def __new__(cl member in TestDateTime.test_subclass_now.DateTimeSubclass 3668 def __new__(cls, *args, **kws): global() member in TestTime.test_subclass_time.C 4315 def __new__(cls, *args, **kws): global() member in TestTimeTZ.test_subclass_timetz.C 5011 def __new__(cls, *args, **kws): global() member in TestDateTimeTZ.test_subclass_datetimetz.C [all...] |
| H A D | pickletester.py | 3390 def __new__(cls, value): member in MyIntWithNew 3394 __new__ = int.__new__ variable in MyIntWithNew2 |
| H A D | _test_multiprocessing.py | 2395 def __new__(cls): member in CountedObject |
| H A D | test_descr.py | 271 def __new__(cls, *args, **kwds): member in OperatorsTest.test_complexes.Number 496 def __new__(cls, name, bases, dict): member in ClassPropertiesAndMethods.test_metaclass.M1 509 def __new__(cls, name, bases, dict): member in ClassPropertiesAndMethods.test_metaclass.M2 537 def __new__(metaclass, name, bases, dict): member in ClassPropertiesAndMethods.test_metaclass.autosuper 570 def __new__(metaclass, name, bases, dict): member in ClassPropertiesAndMethods.test_metaclass.autoproperty 636 def __new__(*args, **kwargs): global() member in ClassPropertiesAndMethods.test_metaclass.A 654 def __new__(mcls, name, bases, ns): global() member in ClassPropertiesAndMethods.test_metaclass.AMeta 663 def __new__(mcls, name, bases, ns): global() member in ClassPropertiesAndMethods.test_metaclass.BMeta 730 def __new__(mcls, *args, **kwargs): global() member in ClassPropertiesAndMethods.test_metaclass.ANotMeta 738 def __new__(mcls, *args, **kwargs): global() member in ClassPropertiesAndMethods.test_metaclass.BNotMeta 1363 def __new__(cls, name, bases, namespace, attr): global() member in .test_slots_special2.Meta 1767 def __new__(cls): global() member in .test_newslots.C 1789 __new__ = list.__new__ global() variable in .test_bad_new.C 1792 __new__ = object.__new__ global() variable in .test_bad_new.C 1812 def __new__(cls, foo): global() member in .test_object_new.A 1820 def __new__(cls, foo): global() member in .test_object_new.A 1832 def __new__(cls, *args, **kwargs): global() member in .test_restored_object_new.A 1836 __new__ = object.__new__ global() variable in .test_restored_object_new.B 3733 def __new__(cls, arg): global() member in .test_funny_new.C 3753 def __new__(*args): global() member in .test_funny_new.C 3762 def __new__(*args): global() member in .test_funny_new.C 4126 def __new__(self, name, bases, ns): global() member in .test_mutable_bases_with_failing_mro.WorkOnce 4893 def __new__(cls, foo, kw=0, *args, **kwds): global() member in .test_object_new_and_init_with_parameters.OverrideNew 4979 def __new__(cls): global() member in .test_bpo25750.X 5434 def __new__(cls, a, b): global() member in PicklingTests.test_reduce_copying.C2 5476 def __new__(cls, a, b, value): global() member in PicklingTests.test_reduce_copying.C4 5493 def __new__(cls, a, b, *, value=0): global() member in PicklingTests.test_reduce_copying.C5 5600 def __new__(mcls, name, bases, attrs): global() member in DebugHelperMeta [all...] |
| H A D | test_inspect.py | 3113 def __new__(mcls, name, bases, dct, *, foo=1): member in TestSignatureObject.test_signature_on_class.CM 3131 def __new__(mcls, name, bases, dct, *, foo=1): member in TestSignatureObject.test_signature_on_class.CMM 3136 def __new__(mcls, name, bases, dct, *, bar=2): member in TestSignatureObject.test_signature_on_class.CM 3175 def __new__(cls, a=1, *args, **kwargs): global() member in TestSignatureObject.test_signature_on_subclass.A 3181 def __new__(cls, a=1, b=2, *args, **kwargs): global() member in TestSignatureObject.test_signature_on_subclass.C 3695 def __new__(self, *args, **kwargs): global() member in TestSignatureObject.test_signature_on_derived_classes.B [all...] |
| H A D | test_typing.py | 3095 def __new__(cls, *args): member in ProtocolTests.test_new_called.C 4154 def __new__(cls, arg): member in GenericTests.test_new_with_args.B 4195 def __new__(cls): member in GenericTests.test_new_no_args.B 4206 def __new__(cls, arg): member in GenericTests.test_new_no_args.C 8200 def __new__( global() member in DataclassTransformTests.test_metaclass.ModelMeta [all...] |
| /third_party/python/Lib/ | ||
| H A D | ssl.py | 461 def __new__(cls, oid): member in _ASN1Object 492 def __new__(cls, protocol=None, *args, **kwargs): member in SSLContext |
| H A D | ast.py | 560 __new__ = _new variable in Num 564 __new__ = _new variable in Str 568 __new__ = _new variable in Bytes 571 __new__ = _new variable in NameConstant 576 def __new__(cls, *args, **kwargs): member in Ellipsis 608 def __new__(cls, value, **kwargs): member in Index 613 def __new__(cls, dims=(), **kwargs): member in ExtSlice |
| H A D | pdb.py | 126 def __new__(cls, val): member in _ScriptTarget |
| H A D | inspect.py | 1640 def __new__(cls, filename, lineno, function, code_context, index, *, positions=None): member in Traceback 1712 def __new__(cls, frame, filename, lineno, function, code_context, index, *, positions=None): member in FrameInfo 2637 def __new__(cls, description): global() member in _ParameterKind [all...] |
| H A D | _pydecimal.py | 532 def __new__(cls, value="0", context=None): member in Decimal |
| H A D | turtle.py | 251 def __new__(cls, x, y): member in Vec2D |
| H A D | typing.py | 512 def __new__(cls, *args, **kwargs): member in Any 2197 def __new__(cls, *args, **kwargs): member in Annotated 2858 def __new__(cls, typename, bases, ns): member in NamedTupleMeta 2930 def __new__(cls, name, bases, ns, total=True): member in _TypedDictMeta [all...] |
| /third_party/python/Lib/email/ | ||
| H A D | _header_value_parser.py | 876 def __new__(cls, value, token_type): member in Terminal |
| /third_party/python/Lib/unittest/ | ||
| H A D | mock.py | 420 def __new__(cls, /, *args, **kw): member in NonCallableMock 2483 def __new__(cls, value=(), name='', parent=None, two=False, member in _Call |
Completed in 99 milliseconds