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

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


http://hg.python.org/cpython/rev/65680e3a7f07
changeset:   83849:65680e3a7f07
branch:      3.3
parent:      83841:256b8dc71046
user:        Eli Bendersky <eliben at gmail.com>
date:        Sun May 19 16:59:59 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
@@ -1837,7 +1837,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