From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sun, 3 Apr 2022 22:49:52 +0000 (-0700) Subject: Follow PEP-8 guidelines in tutorial for standard library (GH-26127) X-Git-Tag: v3.10.5~206 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a331d0f627406d621fa8ef1a1407f2c8a4cee4b5;p=thirdparty%2FPython%2Fcpython.git Follow PEP-8 guidelines in tutorial for standard library (GH-26127) (cherry picked from commit 6db2db91b96aaa1270c200ec931a2250fe2799c7) Co-authored-by: Bob Kline --- diff --git a/Doc/tutorial/stdlib.rst b/Doc/tutorial/stdlib.rst index ac16160b2343..aac1ae3a8a6b 100644 --- a/Doc/tutorial/stdlib.rst +++ b/Doc/tutorial/stdlib.rst @@ -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()