diff options
author | Fred Drake <fdrake@acm.org> | 2002-10-25 21:52:00 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2002-10-25 21:52:00 (GMT) |
commit | 0eebd5cef982686b9438b35d4c4ed395f437ff3e (patch) | |
tree | 49c7affd13defeba3e18990e2a9818fd83482aee /Doc | |
parent | 98e3b29b5969b7738c4c2e1e21fea47357ea6aa0 (diff) | |
download | cpython-0eebd5cef982686b9438b35d4c4ed395f437ff3e.zip cpython-0eebd5cef982686b9438b35d4c4ed395f437ff3e.tar.gz cpython-0eebd5cef982686b9438b35d4c4ed395f437ff3e.tar.bz2 |
Implement a safer and more predictable interpolation approach.
Closes SF bug #511737.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/lib/libcfgparser.tex | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Doc/lib/libcfgparser.tex b/Doc/lib/libcfgparser.tex index 946590d..0ad9d61 100644 --- a/Doc/lib/libcfgparser.tex +++ b/Doc/lib/libcfgparser.tex @@ -59,6 +59,16 @@ appropriate for the \samp{\%()s} string interpolation. Note that and will override any value provided in \var{defaults}. \end{classdesc} +\begin{classdesc}{SafeConfigParser}{\optional{defaults}} +Derived class of \class{ConfigParser} that implements a more-sane +variant of the magical interpolation feature. This implementation is +more predictable as well. +% XXX Need to explain what's safer/more predictable about it. +New applications should prefer this version if they don't need to be +compatible with older versions of Python. +\versionadded{2.3} +\end{classdesc} + \begin{excdesc}{NoSectionError} Exception raised when a specified section is not found. \end{excdesc} |