Skip to content

Commit

Permalink
Fix type annotation for gap_exec2 (#1000)
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin authored Aug 28, 2024
1 parent 7632c5d commit fa85676
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def gap_exec(commands: str, args: str = "") -> Tuple[int, bytes]:
return GAP.returncode, out


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

0 comments on commit fa85676

Please sign in to comment.