mirror of https://github.com/python/cpython
Issue #17736: fix misleading comment in _elementtree.c
Patch by Jonas Wagner
This commit is contained in:
parent
e917052e1a
commit
d4cb4b7451
|
@ -1274,6 +1274,7 @@ Rodrigo Steinmuller Wanderley
|
||||||
Ke Wang
|
Ke Wang
|
||||||
Greg Ward
|
Greg Ward
|
||||||
Zachary Ware
|
Zachary Ware
|
||||||
|
Jonas Wagner
|
||||||
Barry Warsaw
|
Barry Warsaw
|
||||||
Steve Waterbury
|
Steve Waterbury
|
||||||
Bob Watson
|
Bob Watson
|
||||||
|
|
|
@ -312,7 +312,9 @@ element_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
|
||||||
* This is required by some constructors/functions in this module that can
|
* This is required by some constructors/functions in this module that can
|
||||||
* either accept attrib as a keyword argument or all attributes splashed
|
* either accept attrib as a keyword argument or all attributes splashed
|
||||||
* directly into *kwds.
|
* 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*
|
static PyObject*
|
||||||
get_attrib_from_keywords(PyObject *kwds)
|
get_attrib_from_keywords(PyObject *kwds)
|
||||||
|
|
Loading…
Reference in New Issue