Part of pida.utils.configobj View In Hierarchy
Split Table into Classes Show Methods in One Table
Line # | Kind | Name | Docs |
---|---|---|---|
432 | Method | _parse_match | Implementation-dependent helper function. |
Inherited from InterpolationEngine:
Line # | Kind | Name | Docs |
---|---|---|---|
307 | Method | __init__ | Undocumented |
311 | Method | interpolate | Undocumented |
359 | Method | _fetch | Helper function to fetch values from owning section. |
Line # | Kind | Name | Docs |
---|---|---|---|
307 | Method | __init__ | Undocumented |
359 | Method | _fetch | Helper function to fetch values from owning section. |
432 | Method | _parse_match | Implementation-dependent helper function. |
311 | Method | interpolate | Undocumented |
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 "$").