File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2190,8 +2190,8 @@ Exiting methods
2190
2190
.. method :: ArgumentParser.exit(status=0, message=None)
2191
2191
2192
2192
This method terminates the program, exiting with the specified *status *
2193
- and, if given, it prints a *message * before that. The user can override
2194
- this method to handle these steps differently::
2193
+ and, if given, it prints a *message * to :data: ` sys.stderr ` before that.
2194
+ The user can override this method to handle these steps differently::
2195
2195
2196
2196
class ErrorCatchingArgumentParser(argparse.ArgumentParser):
2197
2197
def exit(self, status=0, message=None):
@@ -2201,8 +2201,8 @@ Exiting methods
2201
2201
2202
2202
.. method :: ArgumentParser.error(message)
2203
2203
2204
- This method prints a usage message including the *message * to the
2205
- standard error and terminates the program with a status code of 2.
2204
+ This method prints a usage message, including the *message *, to
2205
+ :data: ` sys.stderr ` and terminates the program with a status code of 2.
2206
2206
2207
2207
2208
2208
Intermixed parsing
You can’t perform that action at this time.
0 commit comments