[pypy-svn] r61256 - pypy/trunk/pypy/objspace/std
arigo at codespeak.net
arigo at codespeak.net
Thu Jan 22 18:29:22 CET 2009
Author: arigo
Date: Thu Jan 22 18:29:21 2009
New Revision: 61256
Modified:
pypy/trunk/pypy/objspace/std/unicodeobject.py
Log:
Fix annotation.
Modified: pypy/trunk/pypy/objspace/std/unicodeobject.py
==============================================================================
--- pypy/trunk/pypy/objspace/std/unicodeobject.py (original)
+++ pypy/trunk/pypy/objspace/std/unicodeobject.py Thu Jan 22 18:29:21 2009
@@ -705,7 +705,7 @@
j = -1 # take all the rest of the string
else:
j = i - 1
- while j >= 0 and not value[j].isspace():
+ while j >= 0 and not _isspace(value[j]):
j -= 1
maxsplit -= 1 # NB. if it's already < 0, it stays < 0
More information about the Pypy-commit
mailing list