summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Kline <bkline@users.noreply.github.com>2022-04-03 18:31:03 -0400
committerGitHub <noreply@github.com>2022-04-03 15:31:03 -0700
commit6db2db91b96aaa1270c200ec931a2250fe2799c7 (patch)
tree76e39d1465827406a16a23efeef1ae3d584b8fc3
parent087d0fa5b97796560c0d8ceab4f0360fd54baf4f (diff)
downloadcpython-git-6db2db91b96aaa1270c200ec931a2250fe2799c7.tar.gz
Follow PEP-8 guidelines in tutorial for standard library (GH-26127)
-rw-r--r--Doc/tutorial/stdlib.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/tutorial/stdlib.rst b/Doc/tutorial/stdlib.rst
index d90dc51c71..227a6d8651 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()