summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-02-02 17:55:12 (GMT)
committerGuido van Rossum <guido@python.org>1999-02-02 17:55:12 (GMT)
commit09da65ef2fa02ca60b809a52d2dc2bbd05f41449 (patch)
tree183708812ff4ba14c31123a5f65ef8e7e77ca69a /Doc
parentcc2c291b7fdb2eb4a46bdce264931bd5adeaff38 (diff)
downloadcpython-09da65ef2fa02ca60b809a52d2dc2bbd05f41449.zip
cpython-09da65ef2fa02ca60b809a52d2dc2bbd05f41449.tar.gz
cpython-09da65ef2fa02ca60b809a52d2dc2bbd05f41449.tar.bz2
Patch by Sjoerd Mullender to placate /F:
Clarified (hopefully :-) the documentation of elements and attributes variables.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libxmllib.tex8
1 files changed, 6 insertions, 2 deletions
diff --git a/Doc/lib/libxmllib.tex b/Doc/lib/libxmllib.tex
index 02944e2..0a097f4 100644
--- a/Doc/lib/libxmllib.tex
+++ b/Doc/lib/libxmllib.tex
@@ -24,7 +24,9 @@ This class provides the following interface methods and instance variables:
A mapping of element names to mappings. The latter mapping maps
attribute names that are valid for the element to the default value of
the attribute, or if there is no default to \code{None}. The default
-value is the empty dictionary.
+value is the empty dictionary. This variable is meant to be
+overridden, not extended since the default is shared by all instances
+of \class{XMLParser}.
\end{memberdesc}
\begin{memberdesc}{elements}
@@ -32,7 +34,9 @@ A mapping of element names to tuples. The tuples contain a function
for handling the start and end tag respectively of the element, or
\code{None} if the method \method{unknown_starttag()} or
\method{unknown_endtag()} is to be called. The default value is the
-empty dictionary.
+empty dictionary. This variable is meant to be overridden, not
+extended since the default is shared by all instances of
+\class{XMLParser}.
\end{memberdesc}
\begin{memberdesc}{entitydefs}