diff options
author | Taneli Hukkinen <hukkinj1@users.noreply.github.com> | 2021-04-26 04:04:26 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-26 04:04:26 (GMT) |
commit | 7be870f9456ad04c3b67881497de6346d83805d2 (patch) | |
tree | ef1830c526300e807f814e868cb3a99125c3ff1b /Doc/library/argparse.rst | |
parent | b3dec6f9ede35fc3bf7ae1baf0aa5f2ce1b6bf9d (diff) | |
download | cpython-7be870f9456ad04c3b67881497de6346d83805d2.zip cpython-7be870f9456ad04c3b67881497de6346d83805d2.tar.gz cpython-7be870f9456ad04c3b67881497de6346d83805d2.tar.bz2 |
Fix documentation typos of argparse exit_on_error (GH-22706)
Diffstat (limited to 'Doc/library/argparse.rst')
-rw-r--r-- | Doc/library/argparse.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst index 80e0f01..d065487 100644 --- a/Doc/library/argparse.rst +++ b/Doc/library/argparse.rst @@ -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) |