Issue #17736: fix misleading comment in _elementtree.c

Patch by Jonas Wagner
This commit is contained in:
Eli Bendersky 2013-04-22 05:29:09 -07:00
commit ed8b86d323
2 changed files with 4 additions and 1 deletions

View File

@ -1301,6 +1301,7 @@ Rodrigo Steinmuller Wanderley
Ke Wang
Greg Ward
Zachary Ware
Jonas Wagner
Barry Warsaw
Steve Waterbury
Bob Watson

View File

@ -271,7 +271,9 @@ element_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
* This is required by some constructors/functions in this module that can
* either accept attrib as a keyword argument or all attributes splashed
* directly into *kwds.
* If there is no 'attrib' keyword, return an empty dict.
*
* Return a dictionary with the content of kwds merged into the content of
* attrib. If there is no attrib keyword, return a copy of kwds.
*/
static PyObject*
get_attrib_from_keywords(PyObject *kwds)