Message140846
the former could be like:
del cmpr[0][::-2], cmpr[1][::2], cmpr[2][1::2]
it's ok
how to implement this with del ?
>>> cmpr
[bytearray(b'abcd'), bytearray(b'efgh'), bytearray(b'ijkl')]
>>> cmpr[0][::-2], cmpr[1][::2] = (), cmpr[2][1::2]
>>> cmpr
[bytearray(b'ac'), bytearray(b'jflh'), bytearray(b'ijkl')]
>>> |
|
Date |
User |
Action |
Args |
2011-07-22 00:29:54 | py.user | set | recipients:
+ py.user, terry.reedy |
2011-07-22 00:29:54 | py.user | set | messageid: <1311294594.34.0.131955298807.issue12606@psf.upfronthosting.co.za> |
2011-07-22 00:29:53 | py.user | link | issue12606 messages |
2011-07-22 00:29:53 | py.user | create | |
|