kopia lustrzana https://github.com/micropython/micropython
8 wiersze
107 B
Python
8 wiersze
107 B
Python
![]() |
# test builtin slice
|
||
|
|
||
|
# print slice
|
||
|
class A:
|
||
|
def __getitem__(self, idx):
|
||
|
print(idx)
|
||
|
A()[1:2:3]
|