Skip to content

Commit 66d38b3

Browse files
[3.14] Doc: Fix missing closing parenthesis in argparse example (GH-143488) (#143489)
Doc: Fix missing closing parenthesis in argparse example (GH-143488) (cherry picked from commit 51227b6) Co-authored-by: Xiao Yuan <yuanx749@gmail.com>
1 parent 9812845 commit 66d38b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/argparse.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,7 @@ upper-cased name. For example::
740740

741741
>>> parser = argparse.ArgumentParser(prog='PROG')
742742
>>> parser.add_argument('--foo-bar')
743-
>>> parser.parse_args(['--foo-bar', 'FOO-BAR']
743+
>>> parser.parse_args(['--foo-bar', 'FOO-BAR'])
744744
Namespace(foo_bar='FOO-BAR')
745745
>>> parser.print_help()
746746
usage: [-h] [--foo-bar FOO-BAR]

0 commit comments

Comments
 (0)