mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
d4a0b37958
support print('test', end='')
36 lines
899 B
Python
36 lines
899 B
Python
from PikaObj import *
|
|
|
|
class MemChecker(TinyObj):
|
|
def max(self): ...
|
|
def now(): ...
|
|
def getMax() -> float: ...
|
|
def getNow() -> float: ...
|
|
def resetMax(): ...
|
|
|
|
class SysObj(BaseObj):
|
|
def type(arg: any): ...
|
|
def remove(argPath: str): ...
|
|
def int(arg: any) -> int: ...
|
|
def float(arg: any) -> float: ...
|
|
def str(arg: any) -> str: ...
|
|
@PIKA_C_MACRO_IF("!PIKA_NODE_ENABLE")
|
|
def iter(arg: any) -> any: ...
|
|
@staticmethod
|
|
def range(a1: int, a2: int) -> any: ...
|
|
@staticmethod
|
|
@PIKA_C_MACRO_IF("!PIKA_NODE_ENABLE")
|
|
def __setitem__(obj: any, key: any, val: any, obj_str: str): ...
|
|
def __getitem__(obj: any, key: any) -> any: ...
|
|
def print(self, *val, **options): ...
|
|
|
|
class RangeObj(TinyObj):
|
|
def __next__() -> any:
|
|
pass
|
|
|
|
class StringObj(TinyObj):
|
|
def __next__() -> any:
|
|
pass
|
|
|
|
class PikaObj(TinyObj):
|
|
pass
|