Replace object | None with object (#9857)

All types, including `None`, are a subtype of `object`, so `None` is redundant in the union `object | None`.
This commit is contained in:
Károly Szabó authored and GitHub committed 2023-03-08 19:59:47 +00:00
1 parent 133b9a04cf
commit 604d39c583
2 files changed
+2 -2

No files matched your search

@@ -20,7 +20,7 @@ class ConsoleMenu:
exit_item: ExitItem
current_option: int
selected_option: int
returned_value: object | None
returned_value: object
should_exit: bool
previous_active_menu: ConsoleMenu | None
def __init__(