修复了大量存在的问题,增加了假鸭子类型等等机制
This commit is contained in:
@@ -8,6 +8,7 @@ import c
|
||||
|
||||
import t
|
||||
import stdio
|
||||
import testcheck
|
||||
|
||||
def test_nonlocal_conditional() -> t.CInt: pass
|
||||
|
||||
25
Test/ClosureTest2/temp/9dbecd0942a39782.pyi
Normal file
25
Test/ClosureTest2/temp/9dbecd0942a39782.pyi
Normal file
@@ -0,0 +1,25 @@
|
||||
"""
|
||||
Auto-generated Python stub file from testcheck.py
|
||||
Module: testcheck
|
||||
"""
|
||||
|
||||
|
||||
import t, c
|
||||
import stdio
|
||||
|
||||
_pass_count: t.CExtern | t.CInt
|
||||
_fail_count: t.CExtern | t.CInt
|
||||
|
||||
def begin(name: str) -> t.CInt: pass
|
||||
|
||||
def section(name: str) -> t.CInt: pass
|
||||
|
||||
def ok(msg: str) -> t.CInt: pass
|
||||
|
||||
def fail(msg: str) -> t.CInt: pass
|
||||
|
||||
def check(cond: t.CInt, ok_msg: str, fail_msg: str) -> t.CInt: pass
|
||||
|
||||
def info(msg: str) -> t.CInt: pass
|
||||
|
||||
def end() -> t.CInt: pass
|
||||
@@ -1,2 +1,3 @@
|
||||
052c7f96b9eefa2c:main.py
|
||||
440f18f9dce85a95:main.py
|
||||
73edbcf76e32d00b:includes/stdio.py
|
||||
9dbecd0942a39782:includes/testcheck.py
|
||||
|
||||
Reference in New Issue
Block a user