diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2014-09-27 20:21:35 (GMT) |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2014-09-27 20:21:35 (GMT) |
commit | 3749404ba5968c5571d47bc8a984f008a7eb8f80 (patch) | |
tree | 90214113acdd1fa51e1648a43237e1cb7b754977 /Doc/library/argparse.rst | |
parent | c5deed3a1497316d4aa2ac350048d0c770016bc7 (diff) | |
download | cpython-3749404ba5968c5571d47bc8a984f008a7eb8f80.zip cpython-3749404ba5968c5571d47bc8a984f008a7eb8f80.tar.gz cpython-3749404ba5968c5571d47bc8a984f008a7eb8f80.tar.bz2 |
Issue #22251: Fix ReST markup to avoid errors building docs.
Diffstat (limited to 'Doc/library/argparse.rst')
-rw-r--r-- | Doc/library/argparse.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst index 3260667..9a3514c 100644 --- a/Doc/library/argparse.rst +++ b/Doc/library/argparse.rst @@ -1894,6 +1894,7 @@ the populated namespace and the list of remaining argument strings. (Namespace(bar='BAR', foo=True), ['--badger', 'spam']) .. warning:: + :ref:`Prefix matching <prefix-matching>` rules apply to :meth:`parse_known_args`. The parser may consume an option even if it's just a prefix of one of its known options, instead of leaving it in the remaining |