Author: Armin Rigo <[email protected]>
Branch: gc-minimark-pinning
Changeset: r55048:e5e6a0599498
Date: 2012-05-11 20:16 +0200
http://bitbucket.org/pypy/pypy/changeset/e5e6a0599498/
Log: Fix a typo (found by reading the diff)
diff --git a/pypy/rlib/runicode.py b/pypy/rlib/runicode.py
--- a/pypy/rlib/runicode.py
+++ b/pypy/rlib/runicode.py
@@ -1495,7 +1495,7 @@
if not final and is_dbcs_lead_byte(s[size-1]):
size -= 1
- with rffi.scoped_nonmoving_unicodebuffer(s) as dataptr:
+ with rffi.scoped_nonmoving_buffer(s) as dataptr:
# first get the size of the result
usize = MultiByteToWideChar(CP_ACP, 0,
dataptr, size,
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit