[Python-checkins] Fix style in argparse.rst (GH-101733)
miss-islington
webhook-mailer at python.org
Wed Mar 8 02:33:59 EST 2023
https://github.com/python/cpython/commit/8bf8e3d9a001f1d955a9f0875ac5a70f6d5a5f5c
commit: 8bf8e3d9a001f1d955a9f0875ac5a70f6d5a5f5c
branch: 3.11
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2023-03-07T23:33:52-08:00
summary:
Fix style in argparse.rst (GH-101733)
(cherry picked from commit 061325e0d2bbec6ff89d03f527c91dc7bfa14003)
Co-authored-by: Marcin Wieczorek <marcin at marcin.co>
files:
M Doc/library/argparse.rst
diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst
index 7a36c5264aa0..8dfe86a4add3 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 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