From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Mon, 23 Jun 2025 22:59:17 +0000 (+0200) Subject: [3.13] Docs: Use `arguments` to replace `args` in `argparse.rst` (GH-135510) (GH... X-Git-Tag: v3.13.6~186 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=980d6cc0c8a540ce45e40c5e75d1fb3e05a5133a;p=thirdparty%2FPython%2Fcpython.git [3.13] Docs: Use `arguments` to replace `args` in `argparse.rst` (GH-135510) (GH-135867) Docs: Use `arguments` to replace `args` in `argparse.rst` (GH-135510) (cherry picked from commit caad163b691b2343d823541cfbf741f481ee9f3e) Co-authored-by: Yongzi Li <204532581+Yzi-Li@users.noreply.github.com> --- diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst index 1acaab444bdb..46c8ead49334 100644 --- a/Doc/library/argparse.rst +++ b/Doc/library/argparse.rst @@ -862,7 +862,7 @@ See also :ref:`specifying-ambiguous-arguments`. The supported values are: .. index:: single: + (plus); in argparse module -* ``'+'``. Just like ``'*'``, all command-line args present are gathered into a +* ``'+'``. Just like ``'*'``, all command-line arguments present are gathered into a list. Additionally, an error message will be generated if there wasn't at least one command-line argument present. For example::