[Python-checkins] CVS: python/dist/src/Doc/lib libcfgparser.tex,1.15,1.16
Fred L. Drake
fdrake@users.sourceforge.net
Mon, 19 Feb 2001 14:37:26 -0800
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv27255/lib
Modified Files:
libcfgparser.tex
Log Message:
ConfigParser.optionxform(): Document this since it is available for
sub-classes and application code to override.
Index: libcfgparser.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libcfgparser.tex,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -r1.15 -r1.16
*** libcfgparser.tex 2000/12/07 00:03:24 1.15
--- libcfgparser.tex 2001/02/19 22:37:24 1.16
***************
*** 98,101 ****
--- 98,102 ----
\end{seealso}
+
\subsection{ConfigParser Objects \label{ConfigParser-objects}}
***************
*** 190,191 ****
--- 191,201 ----
\end{methoddesc}
+ \begin{methoddesc}{optionxform}{option}
+ Transforms the option name \var{option} as found in an input file or
+ as passed in by client code to the form that should be used in the
+ internal structures. The default implementation returns a lower-case
+ version of \var{option}; subclasses may override this or client code
+ can set an attribute of this name on instances to affect this
+ behavior. Setting this to \function{str()}, for example, would make
+ option names case sensitive.
+ \end{methoddesc}