From 5f19638c4ace754ef9496c73a8ad84a46f20959c Mon Sep 17 00:00:00 2001
From: Clemens Wallrath <foo-flow3r-gitlab@nervengiftlabs.de>
Date: Mon, 14 Aug 2023 20:49:48 +0000
Subject: [PATCH] Fix menu example

typing.Optional does not exist on badge and was unused anyway
---
 docs/badge/programming.rst | 2 --
 1 file changed, 2 deletions(-)

diff --git a/docs/badge/programming.rst b/docs/badge/programming.rst
index 398a52251d..759c6697e1 100644
--- a/docs/badge/programming.rst
+++ b/docs/badge/programming.rst
@@ -528,8 +528,6 @@ Here is our previous code changed to use `Application` for the base of its main
     from ctx import Context
     import st3m.run
 
-    from typing import Optional
-
     class SecondScreen(BaseView):
         def draw(self, ctx: Context) -> None:
             # Paint the background black
-- 
GitLab