HomeSort by relevance Sort by last modified time
    Searched refs:__new__ (Results 176 - 200 of 397) sorted by null

1 2 3 4 5 6 78 91011>>

  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_str.py 90 def __new__(cls, content=""): member in class:StrTest.test_conversion.Foo8
91 return str.__new__(cls, 2*content)
test_copy.py 38 def __new__(cls, foo): member in class:TestCopy.test_copy_registry.C
39 obj = object.__new__(cls)
211 def __new__(cls, foo): member in class:TestCopy.test_deepcopy_registry.C
212 obj = object.__new__(cls)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
codecs.py 77 def __new__(cls, encode, decode, streamreader=None, streamwriter=None, member in class:CodecInfo
79 self = tuple.__new__(cls, (encode, decode, streamreader, streamwriter))
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_str.py 90 def __new__(cls, content=""): member in class:StrTest.test_conversion.Foo8
91 return str.__new__(cls, 2*content)
test_copy.py 38 def __new__(cls, foo): member in class:TestCopy.test_copy_registry.C
39 obj = object.__new__(cls)
211 def __new__(cls, foo): member in class:TestCopy.test_deepcopy_registry.C
212 obj = object.__new__(cls)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
codecs.py 77 def __new__(cls, encode, decode, streamreader=None, streamwriter=None, member in class:CodecInfo
79 self = tuple.__new__(cls, (encode, decode, streamreader, streamwriter))
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_str.py 90 def __new__(cls, content=""): member in class:StrTest.test_conversion.Foo8
91 return str.__new__(cls, 2*content)
test_copy.py 38 def __new__(cls, foo): member in class:TestCopy.test_copy_registry.C
39 obj = object.__new__(cls)
211 def __new__(cls, foo): member in class:TestCopy.test_deepcopy_registry.C
212 obj = object.__new__(cls)
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_copy.py 38 def __new__(cls, foo): member in class:TestCopy.test_copy_registry.C
39 obj = object.__new__(cls)
211 def __new__(cls, foo): member in class:TestCopy.test_deepcopy_registry.C
212 obj = object.__new__(cls)
test_array.py 806 def __new__(cls, s, *args, **kwargs): member in class:CharacterTest.test_subbclassing.EditableString
807 return array.array.__new__(cls, 'c', s)
947 def __new__(cls, typecode, data, offset): member in class:NumberTest.test_subclassing.ExaggeratingArray
    [all...]
  /device/linaro/bootloader/edk2/BaseTools/Source/Python/Workspace/
MetaFileTable.py 379 def __new__(Class, Cursor, MetaFile, FileType=None, Temporary=False): member in class:MetaFileStorage
  /external/python/cpython2/Lib/test/
test_copy.py 38 def __new__(cls, foo): member in class:TestCopy.test_copy_registry.C
39 obj = object.__new__(cls)
257 def __new__(cls, foo): member in class:TestCopy.test_deepcopy_registry.C
258 obj = object.__new__(cls)
test_array.py 832 def __new__(cls, s, *args, **kwargs): member in class:CharacterTest.test_subbclassing.EditableString
833 return array.array.__new__(cls, 'c', s)
974 def __new__(cls, typecode, data, offset): member in class:NumberTest.test_subclassing.ExaggeratingArray
    [all...]
  /external/scapy/scapy/
automaton.py 390 def __new__(cls, name, bases, dct): member in class:Automaton_metaclass
391 cls = super(Automaton_metaclass, cls).__new__(cls, name, bases, dct)
642 self.io = type.__new__(type, "IOnamespace",(),{})
643 self.oi = type.__new__(type, "IOnamespace",(),{})
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_copy.py 38 def __new__(cls, foo): member in class:TestCopy.test_copy_registry.C
39 obj = object.__new__(cls)
211 def __new__(cls, foo): member in class:TestCopy.test_deepcopy_registry.C
212 obj = object.__new__(cls)
  /external/autotest/client/bin/
job_unittest.py 31 self.job = self.job_class.__new__(self.job_class)
228 # will construct class instance using __new__
229 self.job = job.base_client_job.__new__(job.base_client_job)
275 self.job = job.base_client_job.__new__(job.base_client_job)
  /external/libmojo/third_party/jinja2/
environment.py 346 rv = object.__new__(self.__class__)
881 def __new__(cls, source, member in class:Template
    [all...]
nodes.py 64 def __new__(cls, name, bases, d): member in class:NodeType
73 return type.__new__(cls, name, bases, d)
914 NodeType.__new__ = staticmethod(_failing_new); del _failing_new
  /external/tensorflow/tensorflow/python/ops/distributions/
distribution.py 132 def __new__(mcs, classname, baseclasses, attrs): member in class:_DistributionMeta
163 return abc.ABCMeta.__new__(mcs, classname, baseclasses, attrs)
198 return abc.ABCMeta.__new__(mcs, classname, baseclasses, attrs)
    [all...]
  /external/python/cpython3/Lib/collections/
__init__.py 319 def __new__(_cls, {arg_list}):
321 return _tuple.__new__(_cls, ({arg_list}))
324 def _make(cls, iterable, new=tuple.__new__, len=len):
    [all...]
  /external/python/cpython3/Lib/
pathlib.py 617 def __new__(cls, *args): member in class:PurePath
656 self = object.__new__(cls)
667 self = object.__new__(cls)
979 def __new__(cls, *args, **kwargs): member in class:Path
    [all...]
pickle.py 150 NEWOBJ = b'\x81' # build object by applying cls.__new__ to argtuple
554 if not hasattr(cls, "__new__"):
555 raise PicklingError("args[0] from {} args has no __new__"
566 func = partial(cls.__new__, cls, *args, **kwargs)
581 # return cls.__new__(cls, *args)
586 # which calls cls.__new__(cls, *args) at unpickling time
598 if not hasattr(cls, "__new__"):
600 "args[0] from __newobj__ args has no __new__")
    [all...]
  /external/python/cpython3/Lib/test/
test_float.py 170 def __new__(cls, value=0.): member in class:GeneralFloatCases.test_floatconversion.Foo3
171 return float.__new__(cls, 2*value)
1386 def __new__(cls, value): member in class:HexFloatTestCase.test_subclass.F
    [all...]
test_long.py 1283 def __new__(cls, value): member in class:LongTest.test_from_bytes.myint2
1304 def __new__(cls, value=0): member in class:LongTest.test_access_to_nonexistent_digit_0.Integer
    [all...]
test_raise.py 138 def __new__(cls, *args): member in class:TestRaise.test_new_returns_invalid_instance.MyException

Completed in 2114 milliseconds

1 2 3 4 5 6 78 91011>>