From 55597dcea57caddd948139fec4c1cbb67cbeb733 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 14 Dec 2020 19:23:30 +0530 Subject: [PATCH] Add the needed import to the example --- docs/kittens/custom.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/kittens/custom.rst b/docs/kittens/custom.rst index a3b830be5..65f337dab 100644 --- a/docs/kittens/custom.rst +++ b/docs/kittens/custom.rst @@ -20,6 +20,8 @@ your machine). .. code-block:: python + from typing import List + def main(args: List[str]) -> str: # this is the main entry point of the kitten, it will be executed in # the overlay window when the kitten is launched