Class n.a.ListContainer(tpc.Adapter):

Part of nevow.accessors View Source View In Hierarchy

Implements interfaces: nevow.inevow.IContainer

Undocumented

Split Table into Classes Show Methods in One Table

Line # Kind Name Docs
125 Method child Return a conceptual child; an attribute, or a key,

Inherited from Adapter:

Line # Kind Name Docs
168 Method __init__ Set my 'original' attribute to be the object I am adapting.
173 Method __conform__ I forward __conform__ to self.original if it has it, otherwise I
182 Method isuper Forward isuper to self.original
Line # Kind Name Docs
173 Method __conform__ I forward __conform__ to self.original if it has it, otherwise I
168 Method __init__ Set my 'original' attribute to be the object I am adapting.
125 Method child Return a conceptual child; an attribute, or a key,
182 Method isuper Forward isuper to self.original
def child(self, context, name): (source)

Return a conceptual child; an attribute, or a key, or the result of a function call.

Returns any object; the result may be adapted to IGettable if possible.

Return None if the adaptee does not have a child with the given name.

TODO: Maybe returning None is bad, and .child should just raise whatever exception is natural
API Documentation for Nevow, generated by pydoctor.