Package lxml :: Module etree :: Class _NamespaceRegistry
[show private | hide private]
[frames | no frames]

Type _NamespaceRegistry

object --+
         |
        _NamespaceRegistry

Known Subclasses:
_ClassNamespaceRegistry, _FunctionNamespaceRegistry

Dictionary-like namespace registry
Method Summary
  __init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
  __delitem__(x, y)
x.__delitem__(y) <==> del x[y]
  __getitem__(x, y)
x.__getitem__(y) <==> x[y]
  __iter__(x)
x.__iter__() <==> iter(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __setitem__(x, i, y)
x.__setitem__(i, y) <==> x[i]=y
  clear(...)
  items(...)
  iteritems(...)
  update(...)
Forgivingly update the registry.
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Class Variable Summary
PyCObject __pyx_vtable__ = <PyCObject object at 0x401cb8a8>

Method Details

__init__(...)
(Constructor)

x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides:
__builtin__.object.__init__

__delitem__(x, y)
(Index deletion operator)

x.__delitem__(y) <==> del x[y]
Returns:
del x[y]

__getitem__(x, y)
(Indexing operator)

x.__getitem__(y) <==> x[y]
Returns:
x[y]

__iter__(x)

x.__iter__() <==> iter(x)
Returns:
iter(x)

__new__(T, S, ...)

T.__new__(S, ...) -> a new object with type S, a subtype of T
Returns:
a new object with type S, a subtype of T
Overrides:
__builtin__.object.__new__

__setitem__(x, i, y)
(Index assignment operator)

x.__setitem__(i, y) <==> x[i]=y
Returns:
x[i]=y

update(...)

Forgivingly update the registry. If registered values do not match the required type for this registry, or if their name starts with '_', they will be silently discarded. This allows registrations at the module or class level using vars(), globals() etc.

Class Variable Details

__pyx_vtable__

Type:
PyCObject
Value:
<PyCObject object at 0x401cb8a8>                                       

Generated by Epydoc 2.1 on Sat Aug 18 12:44:28 2007 http://epydoc.sf.net