File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1658,14 +1658,14 @@ are available:
16581658.. method :: ArgumentParser.print_usage(file=None)
16591659
16601660 Print a brief description of how the :class: `ArgumentParser ` should be
1661- invoked on the command line. If *file * is ``None ``, :data: `sys.stderr ` is
1661+ invoked on the command line. If *file * is ``None ``, :data: `sys.stdout ` is
16621662 assumed.
16631663
16641664.. method :: ArgumentParser.print_help(file=None)
16651665
16661666 Print a help message, including the program usage and information about the
16671667 arguments registered with the :class: `ArgumentParser `. If *file * is
1668- ``None ``, :data: `sys.stderr ` is assumed.
1668+ ``None ``, :data: `sys.stdout ` is assumed.
16691669
16701670There are also variants of these methods that simply return a string instead of
16711671printing it:
You can’t perform that action at this time.
0 commit comments