mirror of https://github.com/python/cpython
Issue #17989: fix typo in error message
This commit is contained in:
parent
dc49b2b88c
commit
6a55dc3b4a
|
@ -1837,7 +1837,7 @@ element_setattro(ElementObject* self, PyObject* nameobj, PyObject* value)
|
||||||
Py_INCREF(self->extra->attrib);
|
Py_INCREF(self->extra->attrib);
|
||||||
} else {
|
} else {
|
||||||
PyErr_SetString(PyExc_AttributeError,
|
PyErr_SetString(PyExc_AttributeError,
|
||||||
"Can't set arbitraty attributes on Element");
|
"Can't set arbitrary attributes on Element");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue