diff --git a/docs/badge/programming.rst b/docs/badge/programming.rst
index 398a52251da3cc47665cd2e4b9b3c1fa935d9c50..759c6697e1f8a631d3a5ac9355d57372b82bc810 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