mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-16 13:34:48 +02:00
Add more type annotations
This commit is contained in:
@@ -107,7 +107,7 @@ else:
|
||||
self._override = RunOnce
|
||||
|
||||
|
||||
def run_once(f: Callable[[], _T]) -> RunOnce[_T]:
|
||||
def run_once(f: Callable[[], _T]) -> 'RunOnce[_T]':
|
||||
return RunOnce(f)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user