Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libcfgparser.tex @ 25918:9901fda7c366 legacy-trunk
Implement a safer and more predictable interpolation approach.
Closes SF bug #511737.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Fri, 25 Oct 2002 21:52:00 +0000 |
| parents | fba16b9bc951 |
| children | 178844988812 |
line wrap: on
line diff
--- a/Doc/lib/libcfgparser.tex Fri Oct 25 20:42:44 2002 +0000 +++ b/Doc/lib/libcfgparser.tex Fri Oct 25 21:52:00 2002 +0000 @@ -59,6 +59,16 @@ 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}
