[docs] Trivial argparse documentation bug.

Sandro Tosi sandro.tosi at gmail.com
Sun Jul 31 16:34:34 CEST 2011


On Sat, Jul 30, 2011 at 15:57, Tom Sillence <TOM.S at internode.on.net> wrote:
> Hi,
> Re: the documentation for the standard library argparse module, there would seem to be a trivial mistake under " Exiting methods":
> http://docs.python.org/library/argparse.html#exiting-methods
> The ArgumentParser.error method is described as printing "a usage message ... to the standard output". In fact, though, the source suggests it is printed to standard error, not standard output.

Thanks for spotting it, I've just opened
http://bugs.python.org/issue12663 to fix it.

Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi

More information about the docs mailing list