diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-04-03 22:58:21 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-03 22:58:21 (GMT) |
commit | 0d0a6f18a09d04244af3a09b50b65c3d0ca43fd2 (patch) | |
tree | 78688fac1bd3489e442e5f8b5402b4e97277876c /Doc/tutorial | |
parent | 490ccbd6e0e5aad07a40c79a6b0c45ffca91724b (diff) | |
download | cpython-0d0a6f18a09d04244af3a09b50b65c3d0ca43fd2.zip cpython-0d0a6f18a09d04244af3a09b50b65c3d0ca43fd2.tar.gz cpython-0d0a6f18a09d04244af3a09b50b65c3d0ca43fd2.tar.bz2 |
Follow PEP-8 guidelines in tutorial for standard library (GH-26127)
(cherry picked from commit 6db2db91b96aaa1270c200ec931a2250fe2799c7)
Co-authored-by: Bob Kline <bkline@users.noreply.github.com>
Diffstat (limited to 'Doc/tutorial')
-rw-r--r-- | Doc/tutorial/stdlib.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/tutorial/stdlib.rst b/Doc/tutorial/stdlib.rst index ab64ca6..a6399dc 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() |