@@ -1273,9 +1273,9 @@ configparser
12731273The :mod: `configparser ` module was modified to improve usability and
12741274predictability of the default parser and its supported INI syntax. The old
12751275:class: `ConfigParser ` class was removed in favor of :class: `SafeConfigParser `
1276- which has in turn been renamed to :class: `ConfigParser `. Support for inline
1277- comments is now turned off by default and section or option duplicates are not
1278- allowed in a single configuration source.
1276+ which has in turn been renamed to :class: `~configparser. ConfigParser `. Support
1277+ for inline comments is now turned off by default and section or option
1278+ duplicates are not allowed in a single configuration source.
12791279
12801280Config parsers gained a new API based on the mapping protocol::
12811281
@@ -1299,14 +1299,14 @@ Config parsers gained a new API based on the mapping protocol::
12991299 >>> 'british' in section
13001300 True
13011301
1302- The new API is implemented on top of the classical API e.g. custom parser
1302+ The new API is implemented on top of the classical API so custom parser
13031303subclasses should be able to use it without modifications.
13041304
13051305The INI file structure accepted by config parsers can now be customized. Users
1306- are able to specify alternative option/value delimiters and comment prefixes,
1307- change the name of the DEFAULT section or switch the interpolation syntax.
1308- Along with support for pluggable interpolation, an additional buildout-like
1309- interpolation handler ( ExtendedInterpolation) was introduced::
1306+ can specify alternative option/value delimiters and comment prefixes, change the
1307+ name of the * DEFAULT * section or switch the interpolation syntax. Along with
1308+ support for pluggable interpolation, an additional interpolation handler
1309+ :class: ` ~configparser. ExtendedInterpolation` was introduced::
13101310
13111311 >>> parser = ConfigParser(interpolation=ExtendedInterpolation())
13121312 >>> parser.read_dict({'buildout': {'directory': '/home/ambv/zope9'},
@@ -1339,8 +1339,8 @@ interpolation handler (ExtendedInterpolation) was introduced::
13391339 '/opt/zope'
13401340
13411341A number of smaller features were also introduced, like support for specifying
1342- encoding in read operations, specifying fallback values in getters , or reading
1343- directly from dictionaries and strings.
1342+ encoding in read operations, specifying fallback values for get-functions , or
1343+ reading directly from dictionaries and strings.
13441344
13451345(All changes contributed by Łukasz Langa.)
13461346
0 commit comments