Skip to content

Commit

Permalink
Merge pull request #455 from potassco/fix/typehints
Browse files Browse the repository at this point in the history
fix type hints
  • Loading branch information
rkaminsk committed Sep 29, 2023
2 parents ba5ec69 + f0204f4 commit 469ae65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libpyclingo/clingo/ast.py
Original file line number Diff line number Diff line change
Expand Up @@ -1252,7 +1252,7 @@ def _pyclingo_ast_callback(ast, data):
def parse_files(
files: Sequence[str],
callback: Callable[[AST], None],
control: Control = None,
control: Optional[Control] = None,
logger: Optional[Logger] = None,
message_limit: int = 20,
) -> None:
Expand Down Expand Up @@ -1315,7 +1315,7 @@ def parse_files(
def parse_string(
program: str,
callback: Callable[[AST], None],
control: Control = None,
control: Optional[Control] = None,
logger: Optional[Logger] = None,
message_limit: int = 20,
) -> None:
Expand Down

0 comments on commit 469ae65

Please sign in to comment.