]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix documentation typos of argparse exit_on_error (GH-22706)
authorTaneli Hukkinen <hukkinj1@users.noreply.github.com>
Mon, 26 Apr 2021 04:04:26 +0000 (06:04 +0200)
committerGitHub <noreply@github.com>
Mon, 26 Apr 2021 04:04:26 +0000 (21:04 -0700)
Doc/library/argparse.rst

index 80e0f013df09e51c90e800c4e86eedbbf38ade91..d065487e281daf1de59bd923d8734ef6f692d3aa 100644 (file)
@@ -659,7 +659,7 @@ exit_on_error
 Normally, when you pass an invalid argument list to the :meth:`~ArgumentParser.parse_args`
 method of an :class:`ArgumentParser`, it will exit with error info.
 
-If the user would like catch errors manually, the feature can be enable by setting
+If the user would like to catch errors manually, the feature can be enabled by setting
 ``exit_on_error`` to ``False``::
 
    >>> parser = argparse.ArgumentParser(exit_on_error=False)