| Home | Trees | Indices | Help | 
 | 
|---|
|  | 
object --+
         |
        InterpolationEngine
A helper class to help perform string interpolation.
This class is an abstract base class; its descendants perform the actual work.
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| Inherited from  | |||
| 
 | |||
| _KEYCRE = re.compile(r'%\( | |||
| _cookie =  | |||
| 
 | |||
| Inherited from  | |||
| 
 | |||
| 
 x.__init__(...) initializes x; see help(type(x)) for signature 
 | 
| 
 Helper function to fetch values from owning section. Returns a 2-tuple: the value, and the section where it was found. | 
| 
 Implementation-dependent helper function. Will be passed a match object corresponding to the interpolation key we just found (e.g., "%(foo)s" or "$foo"). Should look up that key in the appropriate config file section (using the ``_fetch()`` helper function) and return a 3-tuple: (key, value, section) ``key`` is the name of the key we're looking for ``value`` is the value found for that key ``section`` is a reference to the section where it was found ``key`` and ``section`` should be None if no further interpolation should be performed on the resulting value (e.g., if we interpolated "$$" and returned "$"). | 
| Home | Trees | Indices | Help | 
 | 
|---|
| Generated by Epydoc 3.0.1 on Sun Feb 23 14:30:53 2014 | http://epydoc.sourceforge.net |