This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients amjad ben hedhili, serhiy.storchaka
Date 2018-03-19.15:48:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1521474489.04.0.467229070634.issue33103@psf.upfronthosting.co.za>
In-reply-to
Content
This syntax already is supported for dicts and NumPy arrays, but with different semantic.

>>> d = {(1, 2): 'foo'}
>>> d[1, 2]
'foo'
>>> a = numpy.array([[1, 2], [3, 4]])
>>> a[1, 0]
3
History
Date User Action Args
2018-03-19 15:48:09serhiy.storchakasetrecipients: + serhiy.storchaka, amjad ben hedhili
2018-03-19 15:48:09serhiy.storchakasetmessageid: <1521474489.04.0.467229070634.issue33103@psf.upfronthosting.co.za>
2018-03-19 15:48:09serhiy.storchakalinkissue33103 messages
2018-03-19 15:48:09serhiy.storchakacreate