SF patch #859286: documentation bool change fix

(Contributed by George Yoshida.)
This commit is contained in:
Raymond Hettinger 2003-12-31 18:37:28 +00:00
parent a3b11e7fb3
commit 9b4dab4da1
4 changed files with 11 additions and 8 deletions

View file

@ -165,8 +165,8 @@ Returns a list of options available in the specified \var{section}.
\end{methoddesc}
\begin{methoddesc}{has_option}{section, option}
If the given section exists, and contains the given option. return 1;
otherwise return 0.
If the given section exists, and contains the given option,
return \constant{True}; otherwise return \constant{False}.
\versionadded{1.6}
\end{methoddesc}
@ -245,7 +245,8 @@ call.
\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.
If the option existed to be removed, return \constant{True};
otherwise return \constant{False}.
\versionadded{1.6}
\end{methoddesc}