Author: fijal
Branch: unicode-utf8
Changeset: r90547:9f602db4b1ce
Date: 2017-03-04 22:58 +0100
http://bitbucket.org/pypy/pypy/changeset/9f602db4b1ce/
Log: actually use the function I wrote
diff --git a/rpython/rlib/rstring.py b/rpython/rlib/rstring.py
--- a/rpython/rlib/rstring.py
+++ b/rpython/rlib/rstring.py
@@ -20,8 +20,7 @@
def _isspace(s, pos, isutf8=0):
if isutf8:
from rpython.rlib import rutf8
- char = rutf8.codepoint_at_pos(s, pos)
- return unicodedb.isspace(char)
+ return rutf8.isspace(s, pos)
else:
char = s[pos]
if isinstance(char, str):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit