|
__init__(self,
text,
name=' ParserContainer ' ,
context={ } ,
path=' views/ ' ,
writer=' response.write ' ,
lexers={ } ,
delimiters=( ' {{ ' , ' }} ' ) ,
_super_nodes=[ ] )
text -- text to parse
context -- context to parse in
path -- folder path to templates
writer -- string of writer class to use
lexers -- dict of custom lexers to use. |
source code
|
|
|
|
|
|
|
__unicode__(self)
Make sure str works exactly the same as python 3 |
source code
|
|
|
reindent(self,
text)
Reindents a string of unindented python code. |
source code
|
|
|
_raise_error(self,
message='
' ,
text=1)
Raise an error using itself as the filename and textual
content. |
source code
|
|
|
|
|
include(self,
content,
filename)
Include ``filename`` here. |
source code
|
|
|
|
|
|
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__
|