summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Bendersky <eliben@gmail.com>2013-05-19 23:59:59 (GMT)
committerEli Bendersky <eliben@gmail.com>2013-05-19 23:59:59 (GMT)
commit6a55dc3b4a049d4cdc6458aa945695c9373991d7 (patch)
tree63f3e75da7ff31f06b300bf5e1c0fba27a36c9c2
parentdc49b2b88c14cb84cff2606734ec838caa6c8f00 (diff)
downloadcpython-6a55dc3b4a049d4cdc6458aa945695c9373991d7.zip
cpython-6a55dc3b4a049d4cdc6458aa945695c9373991d7.tar.gz
cpython-6a55dc3b4a049d4cdc6458aa945695c9373991d7.tar.bz2
Issue #17989: fix typo in error message
-rw-r--r--Modules/_elementtree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_elementtree.c b/Modules/_elementtree.c
index a568cd3..029ff7b 100644
--- a/Modules/_elementtree.c
+++ b/Modules/_elementtree.c
@@ -1837,7 +1837,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;
}