Go to the latest version of this document.

# ``twisted`.`persisted`.`crefutil`.`_Container``

class documentation

`class _Container(NotKnown): (source)`

Known subclasses: `twisted.persisted.crefutil._Tuple`

Constructor: `_Container(l, containerType)`

View In Hierarchy

Helper class to resolve circular references on container objects.

Method | `__init__` | No summary
Method | `__setitem__` | Change the value of one contained objects, and resolve references if all objects have been referenced.
Instance Variable | `containerType` | Undocumented
Instance Variable | `l` | Undocumented
Instance Variable | `locs` | Undocumented

Inherited from `NotKnown`:

Method | `__hash__` | Undocumented
Method | `addDependant` | Undocumented
Method | `resolveDependants` | Undocumented
Instance Variable | `dependants` | Undocumented
Instance Variable | `resolved` | Undocumented
Instance Variable | `resolvedObject` | Undocumented

def __init__(self, l, containerType): (source)
overrides `twisted.persisted.crefutil.NotKnown.__init__`
overridden in `twisted.persisted.crefutil._Tuple`

Parameters
l | The list of object which may contain some not yet referenced objects.
containerType | A type of container objects (e.g., `tuple` or `set`).

def __setitem__(self, n, obj): (source)

Change the value of one contained objects, and resolve references if all objects have been referenced.

containerType = (source)

Undocumented

l = (source)

Undocumented

locs = (source)

Undocumented