Follow PEP-8 guidelines in tutorial for standard library (GH-26127)

(cherry picked from commit 6db2db91b9)

Co-authored-by: Bob Kline <bkline@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2022-04-03 15:49:52 -07:00 committed by GitHub
parent 470dfe20cb
commit a331d0f627
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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()