mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
21 lines
368 B
Python
21 lines
368 B
Python
|
from PikaObj import *
|
||
|
|
||
|
class List(TinyObj):
|
||
|
def __init__():
|
||
|
pass
|
||
|
|
||
|
# add an arg after the end of list
|
||
|
def append(arg: any):
|
||
|
pass
|
||
|
|
||
|
# get an arg by the index
|
||
|
def get(i: int) -> any:
|
||
|
pass
|
||
|
|
||
|
# set an arg by the index
|
||
|
def set(i: int, arg: any):
|
||
|
pass
|
||
|
|
||
|
# get the length of list
|
||
|
def len() -> int:
|
||
|
pass
|