修复了大量存在的问题,增加了假鸭子类型等等机制

This commit is contained in:
2026-06-25 14:49:46 +08:00
parent 19f2787db0
commit d88d11b646
827 changed files with 32617 additions and 18316 deletions

View File

@@ -0,0 +1,34 @@
"""
Auto-generated Python stub file from main.py
Module: main
"""
from stdint import *
import w32.win32console
import t, c
import testcheck
def add_inline(a: t.CInt, b: t.CInt) -> t.CDefine:
return a + b
def mul_inline(a: t.CInt, b: t.CInt) -> t.CDefine:
return a * b
class AppError(Exception):
pass
class DiskError(AppError):
pass
class NetworkError(AppError):
pass
class TimeoutError(NetworkError):
pass
def raise_disk() -> t.CInt: pass
def raise_network() -> t.CInt: pass
def raise_timeout() -> t.CInt: pass
def main() -> t.CInt | t.CExport: pass