]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix style in argparse.rst (GH-101733)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 8 Mar 2023 07:33:52 +0000 (23:33 -0800)
committerGitHub <noreply@github.com>
Wed, 8 Mar 2023 07:33:52 +0000 (23:33 -0800)
(cherry picked from commit 061325e0d2bbec6ff89d03f527c91dc7bfa14003)

Co-authored-by: Marcin Wieczorek <marcin@marcin.co>
Doc/library/argparse.rst

index 7a36c5264aa0e7a153a8ab70b54bf9af07569b96..8dfe86a4add33dbe9fa5f01141d11219aefcd0e1 100644 (file)
@@ -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