Skip to content

Commit 8e7b16e

Browse files
Bortlesboatclaude
andcommitted
docs: simplify to document return type only per review
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 3cf2eac commit 8e7b16e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Doc/library/argparse.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -698,9 +698,7 @@ The add_argument() method
698698

699699
* deprecated_ - Whether or not use of the argument is deprecated.
700700

701-
The method returns the :class:`Action` object that was created and added to
702-
the parser. This can be stored and used for further customization or
703-
inspection.
701+
The method returns an :class:`Action` object representing the argument.
704702

705703
The following sections describe how each of these are used.
706704

0 commit comments

Comments
 (0)