Peter Tillema <petertill...@solcon.nl> added the comment:

Right, I should have clarified it a bit more. I'm using NumPy arrays because 
they allow indexing like this, where the input arguments are converted to a 
tuple. So
   a[1, 2, *[3, 4]]
is different than
   a[[1, 2, *[3, 4]]]

This indeed only works on NumPy arrays, although I would like to see such 
feature implemented for real lists!

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue45586>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to