mirror of
https://github.com/python/cpython.git
synced 2025-10-02 05:12:23 +00:00
Fix style in argparse.rst (GH-101733)
(cherry picked from commit 061325e0d2
)
Co-authored-by: Marcin Wieczorek <marcin@marcin.co>
This commit is contained in:
parent
df3ed54e34
commit
8bf8e3d9a0
1 changed files with 3 additions and 3 deletions
|
@ -34,9 +34,9 @@ around an instance of :class:`argparse.ArgumentParser`. It is a container for
|
|||
argument specifications and has options that apply the parser as whole::
|
||||
|
||||
parser = argparse.ArgumentParser(
|
||||
prog = 'ProgramName',
|
||||
description = 'What the program does',
|
||||
epilog = 'Text at the bottom of help')
|
||||
prog='ProgramName',
|
||||
description='What the program does',
|
||||
epilog='Text at the bottom of help')
|
||||
|
||||
The :meth:`ArgumentParser.add_argument` method attaches individual argument
|
||||
specifications to the parser. It supports positional arguments, options that
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue