去除 import t, c
This commit is contained in:
1 parent
579cf8d8e0
commit
e67b80c083
112 files changed
+1235
-1347
No files matched your search
@@ -1,4 +1,3 @@
|
||||
import t
|
||||
import stdio
|
||||
import testcheck
|
||||
import remote
|
||||
@@ -15,7 +14,7 @@ def local_quad(a: int, b: int = 10, c: int = 20, d: int = 30) -> int:
|
||||
return a + b * 100 + c * 10000 + d * 1000000
|
||||
|
||||
|
||||
def main() -> int:
|
||||
export def main() -> int:
|
||||
testcheck.begin("DefaultArgTest: default / named / out-of-order arguments")
|
||||
|
||||
# Same-module defaults
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
import t
|
||||
|
||||
|
||||
# Cross-module: single trailing default (mirrors write in includes/json/__writer.vp)
|
||||
def one(x: int, cap: sizet = 4096) -> sizet:
|
||||
return cap
|
||||
|
||||
Reference in new issue
Block a user