API Reference / Classes / argparse / ArgumentError ArgumentError Standard library class argparse.ArgumentError View source class ArgumentError class ArgumentError(Exception) Fields 1 argument_name str Constructors 1 __init__ __init__(self: Self, argument, message: str) Defined in argparse Special methods 1 __str__ __str__(self: Self) -> str Defined in argparse
class ArgumentError class ArgumentError(Exception) Fields 1 argument_name str Constructors 1 __init__ __init__(self: Self, argument, message: str) Defined in argparse Special methods 1 __str__ __str__(self: Self) -> str Defined in argparse