[pypy-commit] pypy remove-string-smm: Fix name of implementation of descr_rjust in bytearray.
hodgestar
noreply at buildbot.pypy.org
Tue Apr 16 21:33:27 CEST 2013
Author: Simon Cross <hodgestar at gmail.com>
Branch: remove-string-smm
Changeset: r63426:4215711f5f45
Date: 2013-04-16 21:33 +0200
http://bitbucket.org/pypy/pypy/changeset/4215711f5f45/
Log: Fix name of implementation of descr_rjust in bytearray.
diff --git a/pypy/objspace/std/bytearrayobject.py b/pypy/objspace/std/bytearrayobject.py
--- a/pypy/objspace/std/bytearrayobject.py
+++ b/pypy/objspace/std/bytearrayobject.py
@@ -44,7 +44,7 @@
return space.newbytearray(lst)
- def bytearray_rjust(self, space, arg, fillchar=' '):
+ def descr_rjust(self, space, arg, fillchar=' '):
u_self = self.data
if len(fillchar) != 1:
raise OperationError(space.w_TypeError,
More information about the pypy-commit
mailing list