mirror of
https://github.com/micropython/micropython.git
synced 2026-03-15 13:20:15 +01:00
This allows to do "ar[i]" and "ar[i] = val" in viper when ar is a Python object and i and/or val are native viper types (eg ints). Patch also includes tests for this feature.
5 lines
16 B
Plaintext
5 lines
16 B
Plaintext
[1, 2, 3]
|
|
1
|
|
2
|
|
3
|