Message138805
all other methods support it and it's right
>>> barr = bytearray(b'abcd*')
>>> barr.center(len(barr) * 4, barr[-1:])
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: must be a byte string of length 1, not bytearray
>>> b = b'abcd*'
>>> b.center(len(b) * 4, b[-1:])
b'*******abcd*********'
>>> |
|
Date |
User |
Action |
Args |
2011-06-21 22:18:55 | py.user | set | recipients:
+ py.user, r.david.murray |
2011-06-21 22:18:55 | py.user | set | messageid: <1308694735.31.0.718850393156.issue12380@psf.upfronthosting.co.za> |
2011-06-21 22:18:54 | py.user | link | issue12380 messages |
2011-06-21 22:18:54 | py.user | create | |
|