]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #17989: fix typo in error message
authorEli Bendersky <eliben@gmail.com>
Sun, 19 May 2013 23:59:59 +0000 (16:59 -0700)
committerEli Bendersky <eliben@gmail.com>
Sun, 19 May 2013 23:59:59 +0000 (16:59 -0700)
Modules/_elementtree.c

index a568cd3b3051da40048e9cf06c8d391e1228b400..029ff7b5c60c07c893eccf36d94e9301bb641061 100644 (file)
@@ -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;
     }