mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 02:39:28 +00:00
Python: move rust originated types into dedicated .pyi file
That way annotations from __init__.py will get used, instead of ignored because of the existence of __init__.pyi.
This commit is contained in:
parent
3b367dcc0b
commit
2d89d6b666
1 changed files with 0 additions and 6 deletions
|
@ -131,9 +131,3 @@ class Timer:
|
|||
def set_interval(self, interval:datetime.timedelta) -> None:
|
||||
...
|
||||
|
||||
|
||||
@overload
|
||||
def callback(func: Callable[..., Any], /) -> Callable[..., Any]: ...
|
||||
|
||||
@overload
|
||||
def callback(*, global_name: typing.Optional[str], name: typing.Optional[str]) -> Callable[..., Any]: ...
|
Loading…
Add table
Add a link
Reference in a new issue