Message314549
This works fine:
>>> "{[0]}".format([1, 2, 3])
'1'
This should work too:
>>> "{[-1]}".format([1, 2, 3])
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: list indices must be integers or slices, not str |
|
Date |
User |
Action |
Args |
2018-03-27 21:07:48 | facundobatista | set | recipients:
+ facundobatista |
2018-03-27 21:07:48 | facundobatista | set | messageid: <1522184868.7.0.467229070634.issue33160@psf.upfronthosting.co.za> |
2018-03-27 21:07:48 | facundobatista | link | issue33160 messages |
2018-03-27 21:07:48 | facundobatista | create | |
|