[Python-checkins] cpython (2.7): Fix closes issue12663 - Correcting the ArgumentParser.error description. Patch

senthil.kumaran python-checkins at python.org
Wed Aug 3 01:45:08 CEST 2011


http://hg.python.org/cpython/rev/1e8dc34ece30
changeset: 71716:1e8dc34ece30
branch: 2.7
parent: 71700:4d39e6f22bef
user: Senthil Kumaran <senthil at uthcode.com>
date: Wed Aug 03 07:43:52 2011 +0800
summary:
 Fix closes issue12663 - Correcting the ArgumentParser.error description. Patch by Sandro Tosi.
files:
 Doc/library/argparse.rst | 2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst
--- a/Doc/library/argparse.rst
+++ b/Doc/library/argparse.rst
@@ -1760,7 +1760,7 @@
 .. 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.
 
 
 .. _argparse-from-optparse:
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /