Skip to content

Commit 7be870f

Browse files
authored
Fix documentation typos of argparse exit_on_error (GH-22706)
1 parent b3dec6f commit 7be870f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/argparse.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,7 @@ exit_on_error
659659
Normally, when you pass an invalid argument list to the :meth:`~ArgumentParser.parse_args`
660660
method of an :class:`ArgumentParser`, it will exit with error info.
661661

662-
If the user would like catch errors manually, the feature can be enable by setting
662+
If the user would like to catch errors manually, the feature can be enabled by setting
663663
``exit_on_error`` to ``False``::
664664

665665
>>> parser = argparse.ArgumentParser(exit_on_error=False)

0 commit comments

Comments
 (0)