]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Follow PEP-8 guidelines in tutorial for standard library (GH-26127)
authorBob Kline <bkline@users.noreply.github.com>
Sun, 3 Apr 2022 22:31:03 +0000 (18:31 -0400)
committerGitHub <noreply@github.com>
Sun, 3 Apr 2022 22:31:03 +0000 (15:31 -0700)
Doc/tutorial/stdlib.rst

index d90dc51c719275f44cc8e3d25ec1594bbb4960f8..227a6d8651ff57b73b2d720b6ac0c9fb0b46af4f 100644 (file)
@@ -78,8 +78,9 @@ and an optional number of lines to be displayed::
 
     import argparse
 
-    parser = argparse.ArgumentParser(prog = 'top',
-        description = 'Show top lines from each file')
+    parser = argparse.ArgumentParser(
+        prog='top',
+        description='Show top lines from each file')
     parser.add_argument('filenames', nargs='+')
     parser.add_argument('-l', '--lines', type=int, default=10)
     args = parser.parse_args()