]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Follow PEP-8 guidelines in tutorial for standard library (GH-26127)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 3 Apr 2022 22:58:21 +0000 (15:58 -0700)
committerGitHub <noreply@github.com>
Sun, 3 Apr 2022 22:58:21 +0000 (15:58 -0700)
(cherry picked from commit 6db2db91b96aaa1270c200ec931a2250fe2799c7)

Co-authored-by: Bob Kline <bkline@users.noreply.github.com>
Doc/tutorial/stdlib.rst

index ab64ca6d400b8174d1d3b4d325785087fc966bd5..a6399dc1af3a9d8a6fd49eef6f9e4dfcbee3eff6 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()