diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2014-09-27 20:22:35 (GMT) |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2014-09-27 20:22:35 (GMT) |
commit | f7fee331042baa0180f89cd38903573bbd12106e (patch) | |
tree | 7f7595620de5ec1487b5f99e928e4f08211a3ed4 /Doc/library/argparse.rst | |
parent | 89c6ee2df19f169e4e60e1e8bb7b711aa057144e (diff) | |
parent | 3749404ba5968c5571d47bc8a984f008a7eb8f80 (diff) | |
download | cpython-f7fee331042baa0180f89cd38903573bbd12106e.zip cpython-f7fee331042baa0180f89cd38903573bbd12106e.tar.gz cpython-f7fee331042baa0180f89cd38903573bbd12106e.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 4f2febe..6a1e06c 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 |