summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-09-28 16:57:16 (GMT)
committerFred Drake <fdrake@acm.org>2001-09-28 16:57:16 (GMT)
commit3c10c68c0e5136772518809cf7d75a5263600146 (patch)
treebc070d8a089ef00394cdbee8b8d545d041e86cd3
parent0f9bfd3ddaa08da62390c9e63ade8e4cc5c8bf73 (diff)
downloadcpython-3c10c68c0e5136772518809cf7d75a5263600146.zip
cpython-3c10c68c0e5136772518809cf7d75a5263600146.tar.gz
cpython-3c10c68c0e5136772518809cf7d75a5263600146.tar.bz2
Use consistent version annotations instead of something ad hoc.
-rw-r--r--Doc/lib/libcfgparser.tex11
1 files changed, 7 insertions, 4 deletions
diff --git a/Doc/lib/libcfgparser.tex b/Doc/lib/libcfgparser.tex
index 65c27ce..6afbe35 100644
--- a/Doc/lib/libcfgparser.tex
+++ b/Doc/lib/libcfgparser.tex
@@ -128,7 +128,8 @@ Returns a list of options available in the specified \var{section}.
\begin{methoddesc}{has_option}{section, option}
If the given section exists, and contains the given option. return 1;
-otherwise return 0. (New in 1.6)
+otherwise return 0.
+\versionadded{1.6}
\end{methoddesc}
\begin{methoddesc}{read}{filenames}
@@ -169,20 +170,22 @@ for the option are \samp{0} and \samp{1}, any others will raise
\begin{methoddesc}{set}{section, option, value}
If the given section exists, set the given option to the specified value;
-otherwise raise \exception{NoSectionError}. (New in 1.6)
+otherwise raise \exception{NoSectionError}.
+\versionadded{1.6}
\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)
+call.
+\versionadded{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)
+\versionadded{1.6}
\end{methoddesc}
\begin{methoddesc}{remove_section}{section}