Author: Manuel Jacob Branch: refactor-str-types Changeset: r65787:8f3122422344 Date: 2013-07-29 16:04 +0200 http://bitbucket.org/pypy/pypy/changeset/8f3122422344/
Log: Fix translation. diff --git a/pypy/objspace/std/bytearrayobject.py b/pypy/objspace/std/bytearrayobject.py --- a/pypy/objspace/std/bytearrayobject.py +++ b/pypy/objspace/std/bytearrayobject.py @@ -58,7 +58,7 @@ return ch.islower() def _istitle(self, ch): - return ch.istitle() + return ch.isupper() def _isspace(self, ch): return ch.isspace() diff --git a/pypy/objspace/std/bytesobject.py b/pypy/objspace/std/bytesobject.py --- a/pypy/objspace/std/bytesobject.py +++ b/pypy/objspace/std/bytesobject.py @@ -101,7 +101,7 @@ return ch.islower() def _istitle(self, ch): - return ch.istitle() + return ch.isupper() def _isspace(self, ch): return ch.isspace() _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit