summaryrefslogtreecommitdiffstats
path: root/Doc/library/pyexpat.rst
diff options
context:
space:
mode:
authorEli Bendersky <eliben@gmail.com>2013-08-26 02:05:55 (GMT)
committerEli Bendersky <eliben@gmail.com>2013-08-26 02:05:55 (GMT)
commitca4d97ea8a9d10953c575477736a5058497bd108 (patch)
treeae4a4bfb7cde079857b7ea3db9a059d8fdd5a732 /Doc/library/pyexpat.rst
parent7c4a7e6f3cbd98ad547a3f1661582517612419e3 (diff)
downloadcpython-ca4d97ea8a9d10953c575477736a5058497bd108.zip
cpython-ca4d97ea8a9d10953c575477736a5058497bd108.tar.gz
cpython-ca4d97ea8a9d10953c575477736a5058497bd108.tar.bz2
Clarify pyexpat documentation in StartElementHandler
Diffstat (limited to 'Doc/library/pyexpat.rst')
-rw-r--r--Doc/library/pyexpat.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/Doc/library/pyexpat.rst b/Doc/library/pyexpat.rst
index 420e407..e3b7917 100644
--- a/Doc/library/pyexpat.rst
+++ b/Doc/library/pyexpat.rst
@@ -339,8 +339,10 @@ otherwise stated.
.. method:: xmlparser.StartElementHandler(name, attributes)
Called for the start of every element. *name* is a string containing the
- element name, and *attributes* is a dictionary mapping attribute names to their
- values.
+ element name, and *attributes* is the element attributes. If
+ :attr:`ordered_attributes` is true, this is a list (see
+ :attr:`ordered_attributes` for a full description). Otherwise it's a
+ dictionary mapping names to values.
.. method:: xmlparser.EndElementHandler(name)