summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2011-08-02 23:42:18 (GMT)
committerSenthil Kumaran <senthil@uthcode.com>2011-08-02 23:42:18 (GMT)
commit86a1a8974dc23b2cdcb6cac3cb0babbfc6af296c (patch)
treed74ee05971ce026fd0149c8781dc845b8993abb0 /Doc/library
parent2a8d195328d067944c95f3195e130c9a41a13c3e (diff)
downloadcpython-86a1a8974dc23b2cdcb6cac3cb0babbfc6af296c.zip
cpython-86a1a8974dc23b2cdcb6cac3cb0babbfc6af296c.tar.gz
cpython-86a1a8974dc23b2cdcb6cac3cb0babbfc6af296c.tar.bz2
Fix closes issue12663 - Correcting the ArgumentParser.error description. Patch by Sandro Tosi.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/argparse.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst
index 3db8fec..e4add74 100644
--- a/Doc/library/argparse.rst
+++ b/Doc/library/argparse.rst
@@ -1778,7 +1778,7 @@ Exiting methods
.. method:: ArgumentParser.error(message)
This method prints a usage message including the *message* to the
- standard output and terminates the program with a status code of 2.
+ standard error and terminates the program with a status code of 2.
.. _upgrading-optparse-code: