Home | History | Annotate | Download | only in library

Lines Matching full:interpolation

287 Interpolation of values
291 interpolation. This means values can be preprocessed before returning them
311 In the example above, :class:`ConfigParser` with *interpolation* set to
318 With ``interpolation`` set to ``None``, the parser would simply return
324 An alternative handler for interpolation which implements a more advanced
325 syntax, used for instance in ``zc.buildout``. Extended interpolation is
327 Interpolation can span multiple levels. For convenience, if the
328 ``section:`` part is omitted, interpolation defaults to the current section
331 For example, the configuration specified above with basic interpolation,
332 would look like this with extended interpolation:
577 >>> parser = ConfigParser(interpolation=ExtendedInterpolation())
594 ... interpolation not necessary = if # is not at line start
608 >>> print(parser['hashes']['interpolation not necessary'])
653 sections or interpolation purposes is a powerful concept of this library,
663 * *interpolation*, default value: ``configparser.BasicInterpolation``
665 Interpolation behaviour may be customized by providing a custom handler
666 through the *interpolation* argument. ``None`` can be used to turn off
667 interpolation completely, ``ExtendedInterpolation()`` provides a more
669 `dedicated documentation section <#interpolation-of-values>`_.
832 To get interpolation, use :class:`ConfigParser`::
840 # interpolation in a single get operation.
845 # precedence in interpolation.
866 interpolation if an option used is not defined elsewhere. ::
885 .. class:: ConfigParser(defaults=None, dict_type=collections.OrderedDict, allow_no_value=False, delimiters=('=', ':'), comment_prefixes=('#', ';'), inline_comment_prefixes=None, strict=True, empty_lines_in_values=True, default_section=configparser.DEFAULTSECT, interpolation=BasicInterpolation(), converters={})
909 section holding default values for other sections and interpolation purposes
913 Interpolation behaviour may be customized by providing a custom handler
914 through the *interpolation* argument. ``None`` can be used to turn off
915 interpolation completely, ``ExtendedInterpolation()`` provides a more
917 `dedicated documentation section <#interpolation-of-values>`_.
919 All option names used in interpolation will be passed through the
936 *empty_lines_in_values*, *default_section* and *interpolation* were
1064 the *raw* argument is true. Values for interpolation keys are looked up
1112 interpolation.
1188 The maximum depth for recursive interpolation for :meth:`get` when the *raw*
1189 parameter is false. This is relevant only when the default *interpolation*
1204 interpolation])
1206 Legacy variant of the :class:`ConfigParser` with interpolation disabled
1211 the values to be stored internally. If you don't want interpolation, you
1212 can use ``ConfigParser(interpolation=None)``.
1231 functionality (including interpolation and output to files) can only be
1281 interpolation.
1286 Exception raised when string interpolation cannot be completed because the