From 84b03e9f77be5552cc009b3c1e2ff71c16c958a2 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 14 Dec 2020 20:06:43 +0530 Subject: [PATCH] ... --- docs/kittens/custom.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/kittens/custom.rst b/docs/kittens/custom.rst index 65f337dab..fc9b575f4 100644 --- a/docs/kittens/custom.rst +++ b/docs/kittens/custom.rst @@ -21,6 +21,7 @@ your machine). .. code-block:: python from typing import List + from kitty.boss import Boss def main(args: List[str]) -> str: # this is the main entry point of the kitten, it will be executed in @@ -30,7 +31,7 @@ your machine). # handle_result() function return answer - def handle_result(args: List[str], answer: str, target_window_id: int, boss: kitty.boss.Boss) -> None: + def handle_result(args: List[str], answer: str, target_window_id: int, boss: Boss) -> None: # get the kitty window into which to paste answer w = boss.window_id_map.get(target_window_id) if w is not None: