On this page
configparser.InterpolationError
Prev: configparser.InterpolationDepthError | Up: configparser | Next: configparser.InterpolationMissingOptionError
Rel: configparser.BasicInterpolation, configparser.ConfigParser, configparser.ConverterMapping, configparser.DuplicateOptionError
Ref: docs.python.org โ configparser.InterpolationError
Tags: #public #python3 #stdlib #configparser
Import
import configparser
from configparser import InterpolationError
Signature & Overview
configparser.InterpolationError(option, section, msg)
Base class for interpolation-related exceptions.
Methods & Attributes
InterpolationError.add_note(self, note, /)โ Add a note to the exceptionInterpolationError.with_traceback(self, tb, /)โ Set self.traceback to tb and return self.
Usage
import configparser
assert issubclass(configparser.InterpolationMissingOptionError, configparser.InterpolationError)
Gotchas
- Base class for all interpolation failures.
REPL Inspect
from configparser import InterpolationError
help(InterpolationError)
Linked from
Related notes
- tuts/python3/stdlib_module/configparser/InterpolationDepthError Linked here; links to this page; shared tags: #configparser, #stdlib
- tuts/python3/stdlib_module/configparser/InterpolationMissingOptionError Linked here; links to this page; shared tags: #configparser, #stdlib
- tuts/python3/stdlib_module/configparser/BasicInterpolation Linked here; shared tags: #configparser, #stdlib
- tuts/python3/stdlib_module/configparser/ConfigParser Linked here; shared tags: #configparser, #stdlib
- tuts/python3/stdlib_module/configparser/ConverterMapping Linked here; shared tags: #configparser, #stdlib
- tuts/python3/stdlib_module/configparser/DuplicateOptionError Linked here; shared tags: #configparser, #stdlib
- tuts/python3/stdlib_module/configparser links to this page; shared tags: #stdlib
- tuts/python3/stdlib_module/configparser/DuplicateSectionError shared tags: #configparser, #stdlib
- tuts/python3/stdlib_module/configparser/ExtendedInterpolation shared tags: #configparser, #stdlib
- tuts/python3/stdlib_module/configparser/Interpolation shared tags: #configparser, #stdlib