Author: Maciej Fijalkowski <[email protected]>
Branch: virtual-arguments
Changeset: r56280:d16532aeeadd
Date: 2012-07-20 10:46 +0200
http://bitbucket.org/pypy/pypy/changeset/d16532aeeadd/
Log: backout 8fcdceac730e
diff --git a/pypy/objspace/std/unicodeobject.py
b/pypy/objspace/std/unicodeobject.py
--- a/pypy/objspace/std/unicodeobject.py
+++ b/pypy/objspace/std/unicodeobject.py
@@ -594,7 +594,6 @@
padding = width - len(self)
if padding <= 0:
return w_self.create_if_subclassed()
- assert width >= 0
result = [u'0'] * width
for i in range(len(self)):
result[padding + i] = self[i]
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit