Updated help.py

Fixed type for annotation in init method
This commit is contained in:
Ethan Smith-Coss 2023-07-05 21:48:00 +01:00
parent 94d6f8f933
commit d10c635982
Signed by: TheOnePath
GPG Key ID: 4E7D436CE1A0BAF1

View File

@ -10,7 +10,7 @@ Usage: help [<command1>, <command2>, ..., <commandn>]
__cmd_name__ = "help"
def __init__(self, *, data = argparse.Namespace, args: list[str] = []) -> None:
def __init__(self, *, data: argparse.Namespace, args: list[str] = []) -> None:
super().__init__()
self.data = data
self.rargs = args