Skip to content

Commit 9272db1

Browse files
committed
cptbox: make generate_linux.py generate correct annotations
1 parent 757da7d commit 9272db1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dmoj/cptbox/syscalls/generate_linux.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,9 @@
101101
with open('../syscalls.pyi', 'w') as interface:
102102
print(
103103
"""\
104-
from typing import List, Dict
104+
from typing import List, Dict, Tuple
105105
106-
translator: List[List[int]]
106+
translator: List[Tuple[List[int], ...]]
107107
by_name: Dict[str, int]
108108
by_id: List[str]
109109
SYSCALL_COUNT: int

0 commit comments

Comments
 (0)