t.w.t.slot(object) : class documentation

Part of twisted.web.template View Source View In Hierarchy

Marker for markup insertion in a template.
Instance Variable name The name of this slot. The key which must be used in Tag.fillSlots to fill it. (type: str)
Instance Variable children The Tag objects included in this slot's template. (type: list)
Instance Variable default The default contents of this slot, if it is left unfilled. If this is None, an UnfilledSlot will be raised, rather than None actually being used. (type: anything flattenable, or NoneType)
Instance Variable filename The name of the XML file from which this tag was parsed. If it was not parsed from an XML file, None. (type: str or NoneType)
Instance Variable lineNumber The line number on which this tag was encountered in the XML file from which it was parsed. If it was not parsed from an XML file, None. (type: int or NoneType)
Instance Variable columnNumber The column number at which this tag was encountered in the XML file from which it was parsed. If it was not parsed from an XML file, None. (type: int or NoneType)
Method __init__ Undocumented
Method __repr__ Undocumented
name =
The name of this slot. The key which must be used in Tag.fillSlots to fill it. (type: str)
children =
The Tag objects included in this slot's template. (type: list)
default =
The default contents of this slot, if it is left unfilled. If this is None, an UnfilledSlot will be raised, rather than None actually being used. (type: anything flattenable, or NoneType)
filename =
The name of the XML file from which this tag was parsed. If it was not parsed from an XML file, None. (type: str or NoneType)
lineNumber =
The line number on which this tag was encountered in the XML file from which it was parsed. If it was not parsed from an XML file, None. (type: int or NoneType)
columnNumber =
The column number at which this tag was encountered in the XML file from which it was parsed. If it was not parsed from an XML file, None. (type: int or NoneType)
def __init__(self, name, default=None, filename=None, lineNumber=None, columnNumber=None): (source)
Undocumented
def __repr__(self): (source)
Undocumented
API Documentation for Twisted, generated by pydoctor at 2014-05-12 18:27:00.