Package pyxb :: Class cscRoot |
[hide private]
[frames] | no frames]

# type cscRoot

source code

    object --+
             |
            cscRoot

Known Subclasses:
  - utils.utility.PrivateTransient_mixin
  - , namespace._ComponentDependency_mixin
  - , namespace.archive._ArchivableObject_mixin
  - , utils.utility.Locatable_mixin
  - , xmlschema.structures._NamedComponent_mixin
  - , namespace.resolution._Resolvable_mixin
  - , xmlschema.structures._Annotated_mixin
  - , xmlschema.structures._ValueConstraint_mixin
  - , xmlschema.structures._ScopedDeclaration_mixin
  - , xmlschema.structures._AttributeWildcard_mixin
  - , xmlschema.structures._ParticleTree_mixin
  - , xmlschema.structures._Singleton_mixin
  - , namespace._NamespaceCategory_mixin
  - , namespace.resolution._NamespaceResolution_mixin
  - , namespace._NamespaceComponentAssociation_mixin
  - , namespace.archive._NamespaceArchivable_mixin
  - , namespace.archive._ObjectOrigin
  - , binding.basis._DynamicCreate_mixin
  - , binding.basis.enumeration_mixin
  - , binding.content.AttributeUse
  - , binding.facets.Facet
  - , binding.facets._CollectionFacet_mixin
  - , binding.facets._LateDatatype_mixin
  - , binding.facets._Fixed_mixin
  - , binding.facets._Enumeration_mixin

This little bundle of joy exists because in Python 2.6 it became an error to invoke `object.__init__` with parameters (unless you also override `__new__`, in which case it's only a warning. Whatever.). Since I'm bloody not going to check in every class whether `super(Myclass,self)` refers to `object` (even if I could figure out how to do that, 'cuz the obvious solutions don't work), we'll just make this thing the root of all cooperative super calling hierarchies. The standard syntax in PyXB for this pattern is:

     def method_csc (self, *args, **kw):
       self_fn = lambda *_args, **_kw: self
       super_fn = getattr(super(ThisClass, self), 'method_csc', self_fn)
       return super_fn(*args, **kw)

Instance Methods | [hide private]
__init__(self, *args, **kw) | source code

Method Details | [hide private]

### __init__(self, *args, **kw) (Constructor) | source code
Overrides: object.__init__ (inherited documentation)