Skip to content

Commit d99abd6

Browse files
committed
Fix type annotation for gap_exec2
1 parent 7632c5d commit d99abd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def gap_exec(commands: str, args: str = "") -> Tuple[int, bytes]:
156156
return GAP.returncode, out
157157

158158

159-
def gap_exec2(commands: str, args: str = "") -> Tuple[int, bytes]:
159+
def gap_exec2(commands: str, args: str = "") -> int:
160160
with subprocess.Popen(
161161
"gap -A -b --quitonbreak -q " + args,
162162
stdin=subprocess.PIPE,

0 commit comments

Comments
 (0)