[Python-ideas] Using * in indexes

Alexander Belopolsky alexander.belopolsky at gmail.com
Tue Sep 14 16:09:05 CEST 2010


On Tue, Sep 14, 2010 at 9:54 AM, Mike Graham <mikegraham at gmail.com> wrote:
..
>> So I'd like to be able to do this:
>>
>>   self.data[..., *index, :]
>
> If in indexes, why not when making other tuples?

I believe this and other unpacking generalizations are implemented in
issue #2292: http://bugs.python.org/issue2292



More information about the Python-ideas mailing list