Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

typing: add 2 missing types needed by Debian's game-data-packager #157

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/gi-stubs/repository/GLib.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -1725,7 +1725,7 @@ class MainContext(GObject.GBoxed):
self, priority: int, function: Callable[..., bool], *data: Any
) -> None: ...
def is_owner(self) -> bool: ...
def iteration(self, *args, **kwargs): ... # FIXME Method
def iteration(self, *args, **kwargs) -> bool: ... # FIXME Method
@classmethod
def new(cls) -> MainContext: ...
@classmethod
Expand Down
1 change: 1 addition & 0 deletions src/gi-stubs/repository/Gio.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -4038,6 +4038,7 @@ class ListModel(GObject.GInterface):
def get_item_type(self) -> Type: ...
def get_n_items(self) -> int: ...
def items_changed(self, position: int, removed: int, added: int) -> None: ...
def __len__(self) -> int: ...

class ListModelInterface(GObject.GPointer):
g_iface: GObject.TypeInterface = ...
Expand Down