[Zope-Checkins] CVS: Zope/lib/python/ZConfig/doc - zconfig.tex:1.5.4.6
Chris McDonough
chrism@zope.com
Tue, 26 Nov 2002 18:52:35 -0500
Update of /cvs-repository/Zope/lib/python/ZConfig/doc
In directory cvs.zope.org:/tmp/cvs-serv32455/doc
Modified Files:
Tag: chrism-install-branch
zconfig.tex
Log Message:
Merge with HEAD and exorcise __getitem__.
=== Zope/lib/python/ZConfig/doc/zconfig.tex 1.5.4.5 => 1.5.4.6 ===
--- Zope/lib/python/ZConfig/doc/zconfig.tex:1.5.4.5 Sun Nov 24 18:28:44 2002
+++ Zope/lib/python/ZConfig/doc/zconfig.tex Tue Nov 26 18:52:34 2002
@@ -472,7 +472,8 @@
Returns a single typed section. The type of the retrieved section
is given by \var{type}. If \var{name} is given and not \code{None},
the name of the section must match \var{name}. If there is no
- section matching in both name and type, \exception{KeyError} is
+ section matching in both name and type,
+ \exception{ConfigurationMissingSectionError} is
raised. If \var{name} is not given or is \code{None}, there must be
exactly one child section of type \var{type}; that section is
returned. If there is more than one section of type \var{type},
@@ -535,9 +536,12 @@
\end{excdesc}
\begin{excdesc}{ConfigurationMissingSectionError}
+ Raised when a requested named section is not available.
\end{excdesc}
\begin{excdesc}{ConfigurationConflictingSectionError}
+ Raised when a request for a section cannot be fulfilled without
+ ambiguity.
\end{excdesc}