New submission from Christof Hanke:

On https://docs.python.org/2/library/argparse.html (and on those of the 
3.6-Version) it says at the bottom:

"""

ArgumentParser.error(message)

    This method prints a usage message including the message to the standard 
error and terminates the program with a status code of 2.
"""

In fact, the returned staus code is 1.

----------
assignee: docs@python
components: Documentation
messages: 257745
nosy: Christof Hanke, docs@python
priority: normal
severity: normal
status: open
title: argparse.ArgumentError documentation wrong
type: enhancement
versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4, Python 3.5, Python 3.6

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26047>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to