[pypy-commit] pypy refactor-str-types: Fix translation.
Manuel Jacob
noreply at buildbot.pypy.org
Mon Jul 29 16:08:05 CEST 2013
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()
More information about the pypy-commit
mailing list