mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-29 17:22:56 +08:00
update pikaStdData.py
This commit is contained in:
parent
105becd7de
commit
634a82135f
@ -29,11 +29,11 @@ class List(TinyObj):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
# support list[] = val
|
# support list[] = val
|
||||||
def __set__(obj: any, key: any, val: any, obj_str: str):
|
def __set__(__key: any, __val: any):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
# support val = list[]
|
# support val = list[]
|
||||||
def __get__() -> any:
|
def __get__(__key: any) -> any:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
class Dict(TinyObj):
|
class Dict(TinyObj):
|
||||||
@ -59,15 +59,18 @@ class Dict(TinyObj):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
# support dict[] = val
|
# support dict[] = val
|
||||||
def __set__(obj: any, key: any, val: any, obj_str: str):
|
def __set__(__key: any, __val: any):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
# support val = dict[]
|
# support val = dict[]
|
||||||
def __get__() -> any:
|
def __get__(__key: any) -> any:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
class String(TinyObj):
|
class String(TinyObj):
|
||||||
|
def __init__(s:str):
|
||||||
|
pass
|
||||||
|
|
||||||
def set(s:str):
|
def set(s:str):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
@ -81,11 +84,11 @@ class String(TinyObj):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
# support string[] = val
|
# support string[] = val
|
||||||
def __set__(obj: any, key: any, val: any, obj_str: str):
|
def __set__(__key: any, __val: any):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
# support val = string[]
|
# support val = string[]
|
||||||
def __get__() -> any:
|
def __get__(__key: any) -> any:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
class ByteArray(List):
|
class ByteArray(List):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user