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:
Simon Hausmann 2025-02-12 08:48:45 +01:00
parent 3b367dcc0b
commit 2d89d6b666

View file

@ -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]: ...