![]() |
Qucs-S S-parameter Viewer & RF Synthesis Tools
|


Public Member Functions | |
| read (self, filenames, option_parser=None) | |
| handle_old_config (self, filename) | |
| validate_settings (self, filename, option_parser) | |
| optionxform (self, optionstr) | |
| get_section (self, section) | |
Public Attributes | |
| old_warning | |
Static Public Attributes | |
| dict | old_settings |
| tuple | old_warning |
| str | not_utf8_error |
Parser for Docutils configuration files. See https://docutils.sourceforge.io/docs/user/config.html. Option key normalization includes conversion of '-' to '_'. Config file encoding is "utf-8". Encoding errors are reported and the affected file(s) skipped. This class is provisional and will change in future versions.
| docutils.frontend.ConfigParser.get_section | ( | self, | |
| section | |||
| ) |
Return a given section as a dictionary. Return empty dictionary if the section doesn't exist. Deprecated. Use the configparser "Mapping Protocol Access" and catch KeyError.
| docutils.frontend.ConfigParser.optionxform | ( | self, | |
| optionstr | |||
| ) |
Lowercase and transform '-' to '_'. So the cmdline form of option names can be used in config files.
| docutils.frontend.ConfigParser.validate_settings | ( | self, | |
| filename, | |||
| option_parser | |||
| ) |
Call the validator function and implement overrides on all applicable settings.
|
static |
|
static |
|
static |