[Python-checkins] Fix style in argparse.rst (#101733)
hauntsaninja
webhook-mailer at python.org
Wed Mar 8 02:25:44 EST 2023
https://github.com/python/cpython/commit/061325e0d2bbec6ff89d03f527c91dc7bfa14003
commit: 061325e0d2bbec6ff89d03f527c91dc7bfa14003
branch: main
author: Marcin Wieczorek <marcin at marcin.co>
committer: hauntsaninja <12621235+hauntsaninja at users.noreply.github.com>
date: 2023-03-07T23:25:28-08:00
summary:
Fix style in argparse.rst (#101733)
files:
M Doc/library/argparse.rst
diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst
index 34b4c61649b9..ee68ac58d3de 100644
--- a/Doc/library/argparse.rst
+++ b/Doc/library/argparse.rst
@@ -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::
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
More information about the Python-checkins
mailing list