[pypy-commit] pypy py3k: Forgot to rename these methods

amauryfa noreply at buildbot.pypy.org
Wed Oct 12 22:55:32 CEST 2011


Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: py3k
Changeset: r48000:49f61e76309c
Date: 2011-10-12 22:31 +0200
http://bitbucket.org/pypy/pypy/changeset/49f61e76309c/

Log:	Forgot to rename these methods

diff --git a/pypy/objspace/std/strbufobject.py b/pypy/objspace/std/strbufobject.py
--- a/pypy/objspace/std/strbufobject.py
+++ b/pypy/objspace/std/strbufobject.py
@@ -31,7 +31,7 @@
     def unwrap(self, space):
         return self.force()
 
-    def str_w(self, space):
+    def bytes_w(self, space):
         return self.force()
 
 registerimplementation(W_StringBufferObject)
diff --git a/pypy/objspace/std/stringobject.py b/pypy/objspace/std/stringobject.py
--- a/pypy/objspace/std/stringobject.py
+++ b/pypy/objspace/std/stringobject.py
@@ -33,7 +33,7 @@
     def unwrap(w_self, space):
         return w_self._value
 
-    def str_w(w_self, space):
+    def bytes_w(w_self, space):
         return w_self._value
 
     def unicode_w(w_self, space):


More information about the pypy-commit mailing list