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

Skip to content

Commit 3a36756

Browse files
committed
Issue #17989: fix typo in error message
2 parents 8687245 + 6a55dc3 commit 3a36756

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
@@ -1797,7 +1797,7 @@ element_setattro(ElementObject* self, PyObject* nameobj, PyObject* value)
17971797
Py_INCREF(self->extra->attrib);
17981798
} else {
17991799
PyErr_SetString(PyExc_AttributeError,
1800-
"Can't set arbitraty attributes on Element");
1800+
"Can't set arbitrary attributes on Element");
18011801
return -1;
18021802
}
18031803

0 commit comments

Comments
 (0)