Author: Tyler Wade <[email protected]>
Branch: utf8-unicode2
Changeset: r72728:da24f2c93b5b
Date: 2014-08-09 02:43 -0500
http://bitbucket.org/pypy/pypy/changeset/da24f2c93b5b/

Log:    Typo

diff --git a/pypy/interpreter/utf8.py b/pypy/interpreter/utf8.py
--- a/pypy/interpreter/utf8.py
+++ b/pypy/interpreter/utf8.py
@@ -171,7 +171,7 @@
 
     def __getitem__(self, char_pos):
         if not isinstance(char_pos, int):
-            raise TyperError("string index must be an integer, not %r" %
+            raise TypeError("string index must be an integer, not %r" %
                               type(char_pos))
         # This if statement is needed for [-1:0] to slice correctly
         if char_pos >= self._len:
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to