Issue #17989: fix typo in error message

This commit is contained in:
Eli Bendersky 2013-05-19 17:00:28 -07:00
commit 3a36756ba1

View File

@ -1797,7 +1797,7 @@ element_setattro(ElementObject* self, PyObject* nameobj, PyObject* value)
Py_INCREF(self->extra->attrib);
} else {
PyErr_SetString(PyExc_AttributeError,
"Can't set arbitraty attributes on Element");
"Can't set arbitrary attributes on Element");
return -1;
}