diff options
author | Eli Bendersky <eliben@gmail.com> | 2013-08-26 02:06:16 (GMT) |
---|---|---|
committer | Eli Bendersky <eliben@gmail.com> | 2013-08-26 02:06:16 (GMT) |
commit | 8d26a56f3eb2f7b77b9c59b731f8fee3299bbc6c (patch) | |
tree | 4a2bca936be4fa4c292913263fcf530b4eaa2494 | |
parent | 6206a7e4b0e0184aa3a7f38dd6635e904ebeea8b (diff) | |
parent | ca4d97ea8a9d10953c575477736a5058497bd108 (diff) | |
download | cpython-8d26a56f3eb2f7b77b9c59b731f8fee3299bbc6c.zip cpython-8d26a56f3eb2f7b77b9c59b731f8fee3299bbc6c.tar.gz cpython-8d26a56f3eb2f7b77b9c59b731f8fee3299bbc6c.tar.bz2 |
Clarify pyexpat documentation in StartElementHandler
-rw-r--r-- | Doc/library/pyexpat.rst | 6 |
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) |