[issue45586] Use starred expressions in list indices

Peter Tillema report at bugs.python.org
Sat Oct 23 04:58:24 EDT 2021


New submission from Peter Tillema <petertillema at solcon.nl>:

It would be nice if you could starred expressions in list indices, for example this piece of code:

```
import numpy as np

a = np.array(0)
print(a[1, *[2, 3], 4])
```

----------
components: Interpreter Core
messages: 404860
nosy: PeterTillema
priority: normal
severity: normal
status: open
title: Use starred expressions in list indices
versions: Python 3.10

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45586>
_______________________________________


More information about the Python-bugs-list mailing list