[Python-checkins] CVS: python/dist/src/Doc/lib libcfgparser.tex,1.11,1.12
Eric S. Raymond
python-dev@python.org
Fri, 14 Jul 2000 08:00:05 -0700
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory slayer.i.sourceforge.net:/tmp/cvs-serv9558/lib
Modified Files:
libcfgparser.tex
Log Message:
Document the second round of ConfigParser changes.
Index: libcfgparser.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libcfgparser.tex,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** libcfgparser.tex 2000/07/10 18:10:59 1.11
--- libcfgparser.tex 2000/07/14 15:00:02 1.12
***************
*** 161,167 ****
\end{methoddesc}
! \begin{methoddesc}{write}{fileobect}
Write a representation of the configuration to the specified file
object. This representation can be parsed by a future \method{read()}
call. (New in 1.6)
\end{methoddesc}
--- 161,180 ----
\end{methoddesc}
! \begin{methoddesc}{write}{fileobject}
Write a representation of the configuration to the specified file
object. This representation can be parsed by a future \method{read()}
call. (New in 1.6)
\end{methoddesc}
+
+ \begin{methoddesc}{remove_option}{section, option}
+ Remove the specified \var{option} from the specified \var{section}.
+ If the section does not exist, raise \exception{NoSectionError}.
+ If the option existed to be removed, return 1; otherwise return 0.
+ (New in 1.6)
+ \end{methoddesc}
+
+ \begin{methoddesc}{remove_section}{section}
+ Remove the specified \var{section} from the configuration.
+ If the section in fact existed, return 1. Otherwise return 0.
+ \end{methoddesc}
+