Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6a55dc3

Browse files
committed
Issue #17989: fix typo in error message
1 parent dc49b2b commit 6a55dc3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/_elementtree.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1837,7 +1837,7 @@ element_setattro(ElementObject* self, PyObject* nameobj, PyObject* value)
18371837
Py_INCREF(self->extra->attrib);
18381838
} else {
18391839
PyErr_SetString(PyExc_AttributeError,
1840-
"Can't set arbitraty attributes on Element");
1840+
"Can't set arbitrary attributes on Element");
18411841
return -1;
18421842
}
18431843

0 commit comments

Comments
 (0)