Skip to content

Commit

Permalink
Fix errors in stub file
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilburda committed Nov 5, 2024
1 parent ec41792 commit 56021dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion generate-pdb-stubs/stubgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def _add_imports(root_node):
new_import_nodes = ast.parse(
'\n'
+ '\n'.join([
'from typing import List, Tuple',
'from typing import Any, List, Tuple',
'from gi.repository import Gegl',
'from gi.repository import GLib',
'from gi.repository import Gio',
Expand Down
2 changes: 1 addition & 1 deletion wrappers/pypdb.pyi
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import List, Tuple
from typing import Any, List, Tuple
from gi.repository import Gegl
from gi.repository import GLib
from gi.repository import Gio
Expand Down

0 comments on commit 56021dc

Please sign in to comment.