From 5fa025aebe8d47a9ca56d5acbb7bb80898809de0 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Sun, 15 Mar 2026 15:08:21 +0100 Subject: [PATCH] [3.14] gh-69223: Document that add_argument() returns an Action object (GH-145538) (#145595) Co-authored-by: Andrew Barnes --- Doc/library/argparse.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst index 2b2bf0a9d6e..622f116bbee 100644 --- a/Doc/library/argparse.rst +++ b/Doc/library/argparse.rst @@ -691,6 +691,8 @@ The add_argument() method * deprecated_ - Whether or not use of the argument is deprecated. + The method returns an :class:`Action` object representing the argument. + The following sections describe how each of these are used.