Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 86a1a89

Browse files
committed
Fix closes issue12663 - Correcting the ArgumentParser.error description. Patch by Sandro Tosi.
1 parent 2a8d195 commit 86a1a89

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/argparse.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1778,7 +1778,7 @@ Exiting methods
17781778
.. method:: ArgumentParser.error(message)
17791779

17801780
This method prints a usage message including the *message* to the
1781-
standard output and terminates the program with a status code of 2.
1781+
standard error and terminates the program with a status code of 2.
17821782

17831783
.. _upgrading-optparse-code:
17841784

0 commit comments

Comments
 (0)