summaryrefslogtreecommitdiffstats
path: root/Modules/_elementtree.c
diff options
context:
space:
mode:
authorEli Bendersky <eliben@gmail.com>2013-05-20 00:00:28 (GMT)
committerEli Bendersky <eliben@gmail.com>2013-05-20 00:00:28 (GMT)
commit3a36756ba102724bb2771ca9c4dfd9eb3e9dd85b (patch)
treef44d1c96904e357818c14a0af8977e17cad8f7c0 /Modules/_elementtree.c
parent8687245e27407919743b4604727d1e42cb8d0db9 (diff)
parent6a55dc3b4a049d4cdc6458aa945695c9373991d7 (diff)
downloadcpython-3a36756ba102724bb2771ca9c4dfd9eb3e9dd85b.zip
cpython-3a36756ba102724bb2771ca9c4dfd9eb3e9dd85b.tar.gz
cpython-3a36756ba102724bb2771ca9c4dfd9eb3e9dd85b.tar.bz2
Issue #17989: fix typo in error message
Diffstat (limited to 'Modules/_elementtree.c')
-rw-r--r--Modules/_elementtree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_elementtree.c b/Modules/_elementtree.c
index 843828d..40cc096 100644
--- a/Modules/_elementtree.c
+++ b/Modules/_elementtree.c
@@ -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;
}