/development/tools/axl/ |
singletonmixin.py | 33 from Singleton may not have their own __new__ 36 es __new__. This happens at subclass instantiation 52 def __new__(metaclass, strName, tupBases, dict): member in class:MetaSingleton 53 if '__new__' in dict: 54 raise SingletonException, 'Can not override __new__ in a Singleton' 55 return super(MetaSingleton,metaclass).__new__(metaclass, strName, tupBases, dict) 75 instance = cls.__new__(cls) 178 def __new__(metaclass, strName, tupBases, dict): member in class:.PublicInterfaceTest.testDontAllowNew.instantiatedAnIllegalClass.A 179 return super(MetaSingleton,metaclass).__new__(metaclass, strName, tupBases, dict)
|
/external/markdown/markdown/ |
odict.py | 8 def __new__(cls, *args, **kwargs): member in class:OrderedDict 9 instance = super(OrderedDict, cls).__new__(cls, *args, **kwargs)
|
/external/clang/utils/ABITest/ |
Enumeration.py | 9 def __new__(type): member in class:Aleph0 11 type._singleton = int.__new__(type)
|
/external/protobuf/python/google/protobuf/ |
reflection.py | 101 def __new__(cls, name, bases, dictionary): member in class:GeneratedProtocolMessageType 104 We override __new__ because this is apparently the only place 126 return superclass.__new__(cls, name, bases, dictionary) [all...] |
/external/webkit/Tools/Scripts/webkitpy/thirdparty/ |
BeautifulSoup.py | 405 def __new__(cls, value): member in class:NavigableString 410 passed in to the superclass's __new__ or the superclass won't know 414 return unicode.__new__(cls, value) 415 return unicode.__new__(cls, value, DEFAULT_OUTPUT_ENCODING) [all...] |
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9/ |
string-unpack-code.js | [all...] |
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/ |
string-unpack-code.js | [all...] |