mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-13 00:20:10 +08:00
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:
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__(
|
||||
|
||||
Reference in new issue
Block a user