2022-08-24 12:04:53 +08:00
|
|
|
from PikaObj import *
|
2022-08-10 11:49:54 +08:00
|
|
|
|
2022-09-14 13:46:19 +08:00
|
|
|
|
2022-07-14 08:36:02 +00:00
|
|
|
class MemChecker:
|
2022-05-25 15:42:25 +08:00
|
|
|
def max(self): ...
|
|
|
|
def now(self): ...
|
2022-08-24 12:04:53 +08:00
|
|
|
|
|
|
|
@PIKA_C_MACRO_IF("!PIKA_NANO_ENABLE")
|
2022-05-25 15:42:25 +08:00
|
|
|
def getMax(self) -> float: ...
|
2022-08-24 12:04:53 +08:00
|
|
|
|
|
|
|
@PIKA_C_MACRO_IF("!PIKA_NANO_ENABLE")
|
2022-05-25 15:42:25 +08:00
|
|
|
def getNow(self) -> float: ...
|
2022-08-24 12:04:53 +08:00
|
|
|
|
|
|
|
@PIKA_C_MACRO_IF("!PIKA_NANO_ENABLE")
|
2022-05-25 15:42:25 +08:00
|
|
|
def resetMax(self): ...
|
2021-10-01 20:00:15 +08:00
|
|
|
|
|
|
|
|
2022-07-14 08:36:02 +00:00
|
|
|
class SysObj:
|
2022-07-15 02:06:23 +00:00
|
|
|
@staticmethod
|
|
|
|
def int(arg: any) -> int: ...
|
2022-08-10 11:49:54 +08:00
|
|
|
|
2022-07-15 02:06:23 +00:00
|
|
|
@staticmethod
|
|
|
|
def float(arg: any) -> float: ...
|
2022-08-10 11:49:54 +08:00
|
|
|
|
2022-07-15 02:06:23 +00:00
|
|
|
@staticmethod
|
|
|
|
def str(arg: any) -> str: ...
|
2022-08-10 11:49:54 +08:00
|
|
|
|
2022-07-15 02:06:23 +00:00
|
|
|
@staticmethod
|
|
|
|
def iter(arg: any) -> any: ...
|
2022-08-10 11:49:54 +08:00
|
|
|
|
2022-07-15 02:06:23 +00:00
|
|
|
@staticmethod
|
2022-09-12 20:01:30 +08:00
|
|
|
def range(*ax) -> any: ...
|
2022-08-10 11:49:54 +08:00
|
|
|
|
2022-07-15 02:06:23 +00:00
|
|
|
@staticmethod
|
2022-09-02 00:13:01 +08:00
|
|
|
def print(*val, **ops): ...
|
2022-08-10 11:49:54 +08:00
|
|
|
|
2022-07-15 02:06:23 +00:00
|
|
|
@staticmethod
|
2022-07-29 23:40:16 +08:00
|
|
|
def __setitem__(obj: any, key: any, val: any) -> any: ...
|
2022-08-10 11:49:54 +08:00
|
|
|
|
2022-07-15 02:06:23 +00:00
|
|
|
@staticmethod
|
2022-07-29 23:40:16 +08:00
|
|
|
def __getitem__(obj: any, key: any) -> any: ...
|
2022-08-10 11:49:54 +08:00
|
|
|
|
2022-09-10 23:16:59 +08:00
|
|
|
@staticmethod
|
|
|
|
@PIKA_C_MACRO_IF("!PIKA_NANO_ENABLE")
|
|
|
|
def type(arg: any) -> any: ...
|
|
|
|
|
2022-07-15 02:06:23 +00:00
|
|
|
@staticmethod
|
2022-08-24 13:26:06 +08:00
|
|
|
@PIKA_C_MACRO_IF("PIKA_BUILTIN_STRUCT_ENABLE")
|
2022-07-15 02:06:23 +00:00
|
|
|
def __slice__(obj: any, start: any, end: any, step: int) -> any: ...
|
2022-08-10 11:49:54 +08:00
|
|
|
|
2022-07-15 02:06:23 +00:00
|
|
|
@staticmethod
|
|
|
|
def len(arg: any) -> int: ...
|
2022-08-10 11:49:54 +08:00
|
|
|
|
2022-07-15 02:06:23 +00:00
|
|
|
@staticmethod
|
2022-08-24 13:26:06 +08:00
|
|
|
@PIKA_C_MACRO_IF("PIKA_BUILTIN_STRUCT_ENABLE")
|
2022-09-19 09:53:27 +08:00
|
|
|
def list(*val) -> any: ...
|
2022-08-10 11:49:54 +08:00
|
|
|
|
2022-07-15 02:06:23 +00:00
|
|
|
@staticmethod
|
2022-08-24 13:26:06 +08:00
|
|
|
@PIKA_C_MACRO_IF("PIKA_BUILTIN_STRUCT_ENABLE")
|
2022-09-27 17:57:38 +08:00
|
|
|
def dict(*val) -> any: ...
|
2022-08-10 11:49:54 +08:00
|
|
|
|
2022-07-15 02:06:23 +00:00
|
|
|
@staticmethod
|
2022-08-24 12:04:53 +08:00
|
|
|
@PIKA_C_MACRO_IF("!PIKA_NANO_ENABLE")
|
2022-07-15 02:06:23 +00:00
|
|
|
def hex(val: int) -> str: ...
|
2022-08-10 11:49:54 +08:00
|
|
|
|
2022-07-15 02:06:23 +00:00
|
|
|
@staticmethod
|
2022-08-24 12:04:53 +08:00
|
|
|
@PIKA_C_MACRO_IF("!PIKA_NANO_ENABLE")
|
2022-07-15 02:06:23 +00:00
|
|
|
def ord(val: str) -> int: ...
|
2022-08-10 11:49:54 +08:00
|
|
|
|
2022-07-15 02:06:23 +00:00
|
|
|
@staticmethod
|
2022-08-24 12:04:53 +08:00
|
|
|
@PIKA_C_MACRO_IF("!PIKA_NANO_ENABLE")
|
2022-07-15 02:06:23 +00:00
|
|
|
def chr(val: int) -> str: ...
|
2022-08-10 11:49:54 +08:00
|
|
|
|
2022-07-15 02:06:23 +00:00
|
|
|
@staticmethod
|
2022-08-24 13:26:06 +08:00
|
|
|
@PIKA_C_MACRO_IF("!PIKA_NANO_ENABLE")
|
2022-07-15 02:06:23 +00:00
|
|
|
def bytes(val: any) -> bytes: ...
|
2022-08-10 11:49:54 +08:00
|
|
|
|
2022-07-15 02:06:23 +00:00
|
|
|
@staticmethod
|
2022-08-24 13:26:06 +08:00
|
|
|
@PIKA_C_MACRO_IF("PIKA_SYNTAX_FORMAT_ENABLE")
|
2022-07-15 02:06:23 +00:00
|
|
|
def cformat(fmt: str, *var) -> str: ...
|
2022-08-10 11:49:54 +08:00
|
|
|
|
2022-07-15 02:06:23 +00:00
|
|
|
@staticmethod
|
2022-08-24 12:04:53 +08:00
|
|
|
@PIKA_C_MACRO_IF("!PIKA_NANO_ENABLE")
|
2022-07-15 02:06:23 +00:00
|
|
|
def id(obj: any) -> int: ...
|
2022-08-10 11:49:54 +08:00
|
|
|
|
2022-07-15 02:06:23 +00:00
|
|
|
@staticmethod
|
2022-08-24 13:26:06 +08:00
|
|
|
@PIKA_C_MACRO_IF("PIKA_FILEIO_ENABLE")
|
2022-07-15 02:06:23 +00:00
|
|
|
def open(path: str, mode: str) -> object: ...
|
2022-05-25 15:42:25 +08:00
|
|
|
|
2022-08-10 11:49:54 +08:00
|
|
|
@staticmethod
|
2022-08-24 12:04:53 +08:00
|
|
|
@PIKA_C_MACRO_IF("!PIKA_NANO_ENABLE")
|
2022-08-10 11:49:54 +08:00
|
|
|
def dir(obj: object) -> list: ...
|
|
|
|
|
2022-08-10 12:07:32 +08:00
|
|
|
@staticmethod
|
2022-08-24 13:26:06 +08:00
|
|
|
@PIKA_C_MACRO_IF("PIKA_EXEC_ENABLE")
|
2022-08-10 12:07:32 +08:00
|
|
|
def exec(code: str): ...
|
|
|
|
|
2022-08-11 17:21:01 +08:00
|
|
|
@staticmethod
|
2022-08-24 12:04:53 +08:00
|
|
|
@PIKA_C_MACRO_IF("!PIKA_NANO_ENABLE")
|
2022-08-11 17:21:01 +08:00
|
|
|
def getattr(obj: object, name: str) -> any: ...
|
|
|
|
|
|
|
|
@staticmethod
|
2022-08-24 12:04:53 +08:00
|
|
|
@PIKA_C_MACRO_IF("!PIKA_NANO_ENABLE")
|
2022-08-11 17:21:01 +08:00
|
|
|
def setattr(obj: object, name: str, val: any): ...
|
|
|
|
|
2022-09-14 13:46:19 +08:00
|
|
|
@staticmethod
|
|
|
|
@PIKA_C_MACRO_IF("!PIKA_NANO_ENABLE")
|
2022-09-26 10:14:01 +08:00
|
|
|
def hasattr(obj: object, name: str) -> int: ...
|
|
|
|
|
2022-09-26 11:03:14 +08:00
|
|
|
@staticmethod
|
|
|
|
@PIKA_C_MACRO_IF("!PIKA_NANO_ENABLE")
|
2022-09-14 13:46:19 +08:00
|
|
|
def exit(): ...
|
|
|
|
|
2021-12-28 01:21:47 +08:00
|
|
|
|
2022-09-26 11:03:14 +08:00
|
|
|
@PIKA_C_MACRO_IF("0")
|
2022-07-14 08:36:02 +00:00
|
|
|
class RangeObj:
|
2022-05-25 15:42:25 +08:00
|
|
|
def __next__(self) -> any: ...
|
2022-01-09 23:49:23 +08:00
|
|
|
|
|
|
|
|
2022-09-26 11:03:14 +08:00
|
|
|
@PIKA_C_MACRO_IF("0")
|
2022-07-14 08:36:02 +00:00
|
|
|
class StringObj:
|
2022-05-25 15:42:25 +08:00
|
|
|
def __next__(self) -> any: ...
|