On this page
  1. configparser.Interpolation
  2. Import
  3. Signature & Overview
  4. Methods & Attributes
  5. Usage
  6. Gotchas
  7. REPL Inspect

configparser.Interpolation

Prev: configparser.ExtendedInterpolation | Up: configparser | Next: configparser.InterpolationDepthError
Rel: configparser.BasicInterpolation, configparser.ConfigParser, configparser.ConverterMapping, configparser.DuplicateOptionError
Ref: docs.python.org — configparser.Interpolation
Tags: #public #python3 #stdlib #configparser


Import

import configparser
from configparser import Interpolation

Signature & Overview

configparser.Interpolation()

Dummy interpolation that passes the value through with no changes.

Methods & Attributes

Usage

import configparser

# Base class for BasicInterpolation and ExtendedInterpolation (pass interpolation=None to disable)
assert issubclass(configparser.BasicInterpolation, configparser.Interpolation)

Gotchas

REPL Inspect

from configparser import Interpolation
help(Interpolation)

Linked from

Related notes