[Python-checkins] Follow PEP-8 guidelines in tutorial for standard library (GH-26127)
miss-islington
webhook-mailer at python.org
Sun Apr 3 18:49:56 EDT 2022
https://github.com/python/cpython/commit/a331d0f627406d621fa8ef1a1407f2c8a4cee4b5
commit: a331d0f627406d621fa8ef1a1407f2c8a4cee4b5
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2022-04-03T15:49:52-07:00
summary:
Follow PEP-8 guidelines in tutorial for standard library (GH-26127)
(cherry picked from commit 6db2db91b96aaa1270c200ec931a2250fe2799c7)
Co-authored-by: Bob Kline <bkline at users.noreply.github.com>
files:
M Doc/tutorial/stdlib.rst
diff --git a/Doc/tutorial/stdlib.rst b/Doc/tutorial/stdlib.rst
index ac16160b23439..aac1ae3a8a6b4 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()
More information about the Python-checkins
mailing list