eon.config¶
Module Contents¶
Classes¶
Basic interpolation that keeps a lone percent sign. |
|
Functions¶
Return the listed spelling. |
Data¶
API¶
- class eon.config.LiteralPercentInterpolation[source]¶
Bases:
configparser.BasicInterpolationBasic interpolation that keeps a lone percent sign.
%(name)sstill expands and%%is still one percent sign. A percent that is neither of those is the character itself, so a path such as/tmp/a%bcan be a main_directory.
- eon.config.canonical_listed_value(raw, values)[source]¶
Return the listed spelling.
An exact entry wins. Otherwise the first entry with the same casefold matches. None when nothing matches.
- eon.config.config¶
‘ConfigClass(…)’