mirror of
https://github.com/python/cpython.git
synced 2025-11-11 14:44:57 +00:00
Fix style in argparse.rst (#101733)
This commit is contained in:
parent
8fd55dd78e
commit
061325e0d2
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 to the parser as whole::
|
argument specifications and has options that apply to the parser as whole::
|
||||||
|
|
||||||
parser = argparse.ArgumentParser(
|
parser = argparse.ArgumentParser(
|
||||||
prog = 'ProgramName',
|
prog='ProgramName',
|
||||||
description = 'What the program does',
|
description='What the program does',
|
||||||
epilog = 'Text at the bottom of help')
|
epilog='Text at the bottom of help')
|
||||||
|
|
||||||
The :meth:`ArgumentParser.add_argument` method attaches individual argument
|
The :meth:`ArgumentParser.add_argument` method attaches individual argument
|
||||||
specifications to the parser. It supports positional arguments, options that
|
specifications to the parser. It supports positional arguments, options that
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue