Home | Trees | Index | Help |
|
---|
Package Pyblosxom :: Module tools :: Class Replacer |
|
Class for replacing variables in a template
This class is a utility class used to provide a bound method to there.sub()
function. Gotten from OPAGCGI.
Method Summary | |
---|---|
It's only duty is to populate itself with the replacement dictionary passed. | |
string |
The replacement method. |
Method Details |
---|
__init__(self,
request,
encoding,
var_dict)
It's only duty is to populate itself with the replacement dictionary
passed.
|
replace(self, matchobj)The replacement method. This is passed a match object by re.sub(), which it uses to index the replacement dictionary and find the replacement string.
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Tue Feb 7 21:43:57 2006 | http://epydoc.sf.net |