https://github.com/python/cpython/commit/6665115679e77ff823ed400fd7276ae5991cc823
commit: 6665115679e77ff823ed400fd7276ae5991cc823
branch: main
author: Guo Ci <[email protected]>
committer: picnixz <[email protected]>
date: 2026-02-07T19:02:01+01:00
summary:
gh-84116: Add missing backslash to `_SubParsersAction.add_parser` signature
(#144572)
files:
M Doc/library/argparse.rst
diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst
index 81e5d3470c3e57..60411b0a0c9748 100644
--- a/Doc/library/argparse.rst
+++ b/Doc/library/argparse.rst
@@ -1896,7 +1896,7 @@ Subcommands
the main parser.
-.. method:: _SubParsersAction.add_parser(name, *, help=None, aliases=None,
+.. method:: _SubParsersAction.add_parser(name, *, help=None, aliases=None, \
deprecated=False, **kwargs)
Create and return a new :class:`ArgumentParser` object for the
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]