[Python-checkins] cpython (merge 3.3 -> default): Issue #17989: fix typo in error message

eli.bendersky python-checkins at python.org
Mon May 20 02:00:40 CEST 2013


http://hg.python.org/cpython/rev/19767536ce84
changeset:   83850:19767536ce84
parent:      83848:93cc4e083eb2
parent:      83849:65680e3a7f07
user:        Eli Bendersky <eliben at gmail.com>
date:        Sun May 19 17:00:28 2013 -0700
summary:
  Issue #17989: fix typo in error message

files:
  Modules/_elementtree.c |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Modules/_elementtree.c b/Modules/_elementtree.c
--- a/Modules/_elementtree.c
+++ b/Modules/_elementtree.c
@@ -1797,7 +1797,7 @@
         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;
     }
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list