Message138809
| Author |
py.user |
| Recipients |
py.user, r.david.murray |
| Date |
2011年06月21日.23:46:01 |
| SpamBayes Score |
0.00071822584 |
| Marked as misclassified |
No |
| Message-id |
<1308699962.51.0.664691351711.issue12380@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> A bytearray is for working with mutable data. We don't support using > it in all places that the non-mutable data types can be used.
>>> bytearray(b'abcd').strip(bytearray(b'da'))
bytearray(b'bc')
>>>
.translate, .find, .partition, ...
>>> bytearray(b'.').join((bytearray(b'a'), bytearray(b'b')))
bytearray(b'a.b')
>>> bytearray(b'.').join((b'a', b'b'))
bytearray(b'a.b')
>>>
all these methods could use only bytes objects |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年06月21日 23:46:02 | py.user | set | recipients:
+ py.user, r.david.murray |
| 2011年06月21日 23:46:02 | py.user | set | messageid: <1308699962.51.0.664691351711.issue12380@psf.upfronthosting.co.za> |
| 2011年06月21日 23:46:01 | py.user | link | issue12380 messages |
| 2011年06月21日 23:46:01 | py.user | create |
|