From: Eli Bendersky Date: Mon, 26 Aug 2013 02:05:55 +0000 (-0700) Subject: Clarify pyexpat documentation in StartElementHandler X-Git-Tag: v3.4.0a2~109^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ca4d97ea8a9d10953c575477736a5058497bd108;p=thirdparty%2FPython%2Fcpython.git Clarify pyexpat documentation in StartElementHandler --- diff --git a/Doc/library/pyexpat.rst b/Doc/library/pyexpat.rst index 420e40766304..e3b7917318e0 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)