Home | History | Annotate | Download | only in Lib

Lines Matching refs:Interpolation

21              interpolation=<unset>, converters=<unset>):
24 must be appropriate for %()s string interpolation.
57 When `interpolation` is given, it should be an Interpolation subclass
60 any sort of interpolation, whereas ConfigParser uses an instance of
156 "Interpolation", "BasicInterpolation", "ExtendedInterpolation",
254 """Base class for interpolation-related exceptions."""
268 "an interpolation key {!r} which is not a valid option name. "
288 "in section {!r} contains an interpolation key which "
359 class Interpolation:
360 """Dummy interpolation that passes the value through with no changes."""
375 class BasicInterpolation(Interpolation):
376 """Interpolation as implemented in the classic ConfigParser.
401 raise ValueError("invalid interpolation syntax in %r at "
427 "bad interpolation variable reference %r" % rest)
447 class ExtendedInterpolation(Interpolation):
448 """Advanced variant of interpolation, supports the syntax used by
449 `zc.buildout'. Enables interpolation between sections."""
462 raise ValueError("invalid interpolation syntax in %r at "
488 "bad interpolation variable reference %r" % rest)
521 class LegacyInterpolation(Interpolation):
522 """Deprecated interpolation used in old versions of ConfigParser.
560 """ConfigParser that does not do interpolation."""
585 # Interpolation algorithm to be used if the user does not specify another
586 _DEFAULT_INTERPOLATION = Interpolation()
605 interpolation=_UNSET, converters=_UNSET):
630 self._interpolation = interpolation
634 self._interpolation = Interpolation()
772 If interpolation is enabled and the optional argument `raw' is False,
1190 """ConfigParser implementing interpolation."""
1196 interpolation syntax on the value."""
1211 Does not perform interpolation for backwards compatibility.
1215 self._interpolation = Interpolation()