Author: Philip Jenvey <[email protected]>
Branch: py3k-fix-strategies
Changeset: r70835:9b05efa1e2d2
Date: 2014-04-21 13:25 -0700
http://bitbucket.org/pypy/pypy/changeset/9b05efa1e2d2/
Log: shortcut to bytes_w
diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py
--- a/pypy/objspace/std/listobject.py
+++ b/pypy/objspace/std/listobject.py
@@ -1658,7 +1658,7 @@
return self.space.wrapbytes(stringval)
def unwrap(self, w_string):
- return self.space.str_w(w_string)
+ return self.space.bytes_w(w_string)
erase, unerase = rerased.new_erasing_pair("bytes")
erase = staticmethod(erase)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit