Message138805
| Author |
py.user |
| Recipients |
py.user, r.david.murray |
| Date |
2011年06月21日.22:18:54 |
| SpamBayes Score |
1.1891799e-08 |
| Marked as misclassified |
No |
| Message-id |
<1308694735.31.0.718850393156.issue12380@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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*********'
>>> |
|
History
|
|---|
| 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 |
|