Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 09da65e

Browse files
committed
Patch by Sjoerd Mullender to placate /F:
Clarified (hopefully :-) the documentation of elements and attributes variables.
1 parent cc2c291 commit 09da65e

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

Doc/lib/libxmllib.tex

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,19 @@ \section{\module{xmllib} ---
2424
A mapping of element names to mappings. The latter mapping maps
2525
attribute names that are valid for the element to the default value of
2626
the attribute, or if there is no default to \code{None}. The default
27-
value is the empty dictionary.
27+
value is the empty dictionary. This variable is meant to be
28+
overridden, not extended since the default is shared by all instances
29+
of \class{XMLParser}.
2830
\end{memberdesc}
2931

3032
\begin{memberdesc}{elements}
3133
A mapping of element names to tuples. The tuples contain a function
3234
for handling the start and end tag respectively of the element, or
3335
\code{None} if the method \method{unknown_starttag()} or
3436
\method{unknown_endtag()} is to be called. The default value is the
35-
empty dictionary.
37+
empty dictionary. This variable is meant to be overridden, not
38+
extended since the default is shared by all instances of
39+
\class{XMLParser}.
3640
\end{memberdesc}
3741

3842
\begin{memberdesc}{entitydefs}

0 commit comments

Comments
 (0)