Package pyxb :: Package xmlschema :: Module structures :: Class _Singleton_mixin
[hide private]
[frames] | no frames]

Class _Singleton_mixin

source code

object --+    
         |    
   cscRoot --+
             |
            _Singleton_mixin
Known Subclasses:

This class is a mix-in which guarantees that only one instance of the class will be created. It is used to ensure that the ur-type instances are pointer-equivalent even when unpickling. See ComplexTypeDefinition.UrTypeDefinition().

Instance Methods [hide private]

Inherited from cscRoot: __init__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods [hide private]
a new object with type S, a subtype of T
__new__(cls, *args, **kw) source code
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__new__(cls, *args, **kw)
Static Method

source code 
Returns: a new object with type S, a subtype of T
Overrides: object.__new__
(inherited documentation)