You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
argparse missing documentation for error() method #53358
The argparse module's ArgumentParser class has an error() method that appears to have the same behavior as the optparse error() method, but this method is not mentioned in the documentation.
Activity
mark-summerfield commentedon Jun 29, 2010
The argparse module's ArgumentParser class has an error() method that appears to have the same behavior as the optparse error() method, but this method is not mentioned in the documentation.
sandrotosi commentedon Sep 30, 2010
Hello,
attached a patch that adds the exiting methods (exit() and error()) to argparse documentation.
Regards,
Sandro
birkenfeld commentedon Oct 17, 2010
Committed after review in r85622. Thanks!