summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2011-08-03 07:43:01 +0800
committerSenthil Kumaran <senthil@uthcode.com>2011-08-03 07:43:01 +0800
commit90ceb4772b1c2d25d0745865ee0f63c71e02db2d (patch)
treef5dca8bc44fe6f831e21eac154a271a45f27853d
parent8f7bdd3208e071341a1493568023ef734b53016f (diff)
parent86a1a8974dc23b2cdcb6cac3cb0babbfc6af296c (diff)
downloadcpython-git-90ceb4772b1c2d25d0745865ee0f63c71e02db2d.tar.gz
Fix closes issue12663 - Correcting the ArgumentParser.error description. Patch by Sandro Tosi.
-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 8a1005ebe3..17a56dd4c7 100644
--- a/Doc/library/argparse.rst
+++ b/Doc/library/argparse.rst
@@ -1797,7 +1797,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: