Skip to content
Merged
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
8 changes: 6 additions & 2 deletions src/gi-stubs/_gi.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,9 @@ class FunctionInfo(CallableInfo):
def get_vfunc(self) -> VFuncInfo | None: ...
def is_constructor(self) -> bool: ...
def is_method(self) -> bool: ...
def __get__(self, instance: object, owner: object = None, /) -> Any: ...
def __get__(
self, instance: object, owner: type[object] | None = None, /
) -> Self: ...

class FunctionInfoFlags(int):
IS_CONSTRUCTOR: ClassVar[int]
Expand Down Expand Up @@ -545,7 +547,9 @@ class VFuncInfo(CallableInfo):
def get_invoker(self) -> FunctionInfo | None: ...
def get_offset(self) -> int: ...
def get_signal(self) -> SignalInfo | None: ...
def __get__(self, instance: object, owner: object = None, /) -> Any: ...
def __get__(
self, instance: object, owner: type[object] | None = None, /
) -> Self: ...

class VFuncInfoFlags(int):
CHAIN_UP: ClassVar[int]
Expand Down
Loading