Author facundobatista
Recipients facundobatista
Date 2018-03-27.21:07:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1522184868.7.0.467229070634.issue33160@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2018-03-27 21:07:48facundobatistasetrecipients: + facundobatista
2018-03-27 21:07:48facundobatistasetmessageid: <1522184868.7.0.467229070634.issue33160@psf.upfronthosting.co.za>
2018-03-27 21:07:48facundobatistalinkissue33160 messages
2018-03-27 21:07:48facundobatistacreate