/external/tensorflow/tensorflow/contrib/tpu/python/tpu/ |
tpu_estimator.py | 206 def __new__(cls, member in class:TPUEstimatorSpec 222 return super(TPUEstimatorSpec, cls).__new__( [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_unicode.py | 1246 def __new__(cls, content=""): member in class:UnicodeTest.test_conversion.Foo8 [all...] |
test_weakref.py | 849 def __new__(type, ob, callback, slot1, slot2): member in class:SubclassableWeakrefTestCase.test_subclass_refs_with_slots.MyRef 850 return weakref.ref.__new__(type, ob, callback) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_unicode.py | 1246 def __new__(cls, content=""): member in class:UnicodeTest.test_conversion.Foo8 [all...] |
test_weakref.py | 849 def __new__(type, ob, callback, slot1, slot2): member in class:SubclassableWeakrefTestCase.test_subclass_refs_with_slots.MyRef 850 return weakref.ref.__new__(type, ob, callback) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_unicode.py | 1246 def __new__(cls, content=""): member in class:UnicodeTest.test_conversion.Foo8 [all...] |
test_weakref.py | 849 def __new__(type, ob, callback, slot1, slot2): member in class:SubclassableWeakrefTestCase.test_subclass_refs_with_slots.MyRef 850 return weakref.ref.__new__(type, ob, callback) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_unicode.py | 1246 def __new__(cls, content=""): member in class:UnicodeTest.test_conversion.Foo8 [all...] |
test_weakref.py | 849 def __new__(type, ob, callback, slot1, slot2): member in class:SubclassableWeakrefTestCase.test_subclass_refs_with_slots.MyRef 850 return weakref.ref.__new__(type, ob, callback) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
decimal.py | 514 # We're immutable, so use __new__ not __init__
515 def __new__(cls, value="0", context=None):
member in class:Decimal 538 self = object.__new__(cls)
[all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_datetime.py | 103 orig = tzinfo.__new__(tzinfo)
1091 def __new__(cls, *args, **kws): member in class:TestDate.test_subclass_date.C 1663 def __new__(cls, *args, **kws): member in class:TestDateTime.test_subclass_datetime.C 1964 def __new__(cls, *args, **kws): member in class:TestTime.test_subclass_time.C 2379 def __new__(cls, *args, **kws): member in class:TestTimeTZ.test_subclass_timetz.C 2987 def __new__(cls, *args, **kws): member in class:TestDateTimeTZ.test_subclass_datetimetz.C [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/Python/AutoGen/ |
AutoGen.py | 169 def __new__(Class, Workspace, MetaFile, Target, Toolchain, Arch, *args, **kwargs):
member in class:AutoGen 174 AutoGenObject = super(AutoGen, Class).__new__(Class)
219 # (in super class's __new__ method)
[all...] |
/external/python/cpython2/Lib/ |
decimal.py | 513 # We're immutable, so use __new__ not __init__ 514 def __new__(cls, value="0", context=None): member in class:Decimal 537 self = object.__new__(cls) [all...] |
/external/python/cpython2/Lib/lib-tk/ |
turtle.py | 270 def __new__(cls, x, y): member in class:Vec2D 271 return tuple.__new__(cls, (x, y)) [all...] |
/external/python/cpython2/Lib/test/ |
test_datetime.py | 103 orig = tzinfo.__new__(tzinfo) 1092 def __new__(cls, *args, **kws): member in class:TestDate.test_subclass_date.C 1665 def __new__(cls, *args, **kws): member in class:TestDateTime.test_subclass_datetime.C 1966 def __new__(cls, *args, **kws): member in class:TestTime.test_subclass_time.C 2381 def __new__(cls, *args, **kws): member in class:TestTimeTZ.test_subclass_timetz.C 2989 def __new__(cls, *args, **kws): member in class:TestDateTimeTZ.test_subclass_datetimetz.C [all...] |
/external/python/cpython3/Lib/ |
_pydecimal.py | 563 # We're immutable, so use __new__ not __init__ 564 def __new__(cls, value="0", context=None): member in class:Decimal 587 self = object.__new__(cls) [all...] |
turtle.py | 250 def __new__(cls, x, y): member in class:Vec2D 251 return tuple.__new__(cls, (x, y)) [all...] |
typing.py | 117 This overrides __new__() to require an extra keyword parameter 123 constructs is done in __new__) and a nicer repr(). 128 def __new__(cls, name, bases, namespace, *, _root=False): member in class:TypingMeta 132 return super().__new__(cls, name, bases, namespace) 163 def __new__(cls, *args, **kwds): member in class:_TypingBase 174 return super().__new__(cls) 201 def __new__(cls, *args, _root=False, **kwds): member in class:_FinalTypingBase 202 self = super().__new__(cls, *args, **kwds) 702 def __new__(cls, parameters=None, origin=None, *args, _root=False): member in class:_Union 703 self = super().__new__(cls, parameters, origin, *args, _root=_root 915 def __new__(cls, name, bases, namespace, member in class:GenericMeta 1215 def __new__(cls, *args, **kwds): member in class:Generic 1279 def __new__(cls, *args, **kwds): member in class:Tuple 1356 def __new__(cls, *args, **kwds): member in class:Callable 1864 def __new__(cls, *args, **kwds): member in class:List 1875 def __new__(cls, *args, **kwds): member in class:Deque 1885 def __new__(cls, *args, **kwds): member in class:Set 1895 def __new__(cls, *args, **kwds): member in class:FrozenSet 1932 def __new__(cls, *args, **kwds): member in class:Dict 1944 def __new__(cls, *args, **kwds): member in class:DefaultDict 1954 def __new__(cls, *args, **kwds): member in class:Counter 1969 def __new__(cls, *args, **kwds): member in class:.ChainMap 1988 def __new__(cls, *args, **kwds): member in class:Generator 2061 def __new__(cls, typename, bases, ns): member in class:NamedTupleMeta 2120 def __new__(self, typename, fields=None, **kwargs): member in class:NamedTuple [all...] |
/external/python/cpython3/Lib/email/ |
_header_value_parser.py | 1237 def __new__(cls, value, token_type): member in class:Terminal [all...] |
/external/python/cpython3/Lib/test/ |
test_codecs.py | 2944 def __new__(cls): member in class:ExceptionChainingTest.test_new_override_is_not_wrapped.CustomNew [all...] |
test_weakref.py | 931 def __new__(type, ob, callback, slot1, slot2): member in class:SubclassableWeakrefTestCase.test_subclass_refs_with_slots.MyRef 932 return weakref.ref.__new__(type, ob, callback) [all...] |
test_xml_etree.py | 1883 def __new__(cls, elem, *args): member in class:MutatingElementPath [all...] |
/external/scapy/scapy/contrib/ |
bgp.py | 571 def __new__(cls, clsname, bases, attrs): member in class:_BGPCap_metaclass 572 newclass = super(_BGPCap_metaclass, cls).__new__( [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
decimal.py | 514 # We're immutable, so use __new__ not __init__ 515 def __new__(cls, value="0", context=None): member in class:Decimal 538 self = object.__new__(cls) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/lib-tk/ |
turtle.py | 270 def __new__(cls, x, y): member in class:Vec2D 271 return tuple.__new__(cls, (x, y)) [all...] |