[3.15] gh-148216: Fix hyphenation in tutorial/stdlib.rst (GH-155736) (#156085)

hugovk <[email protected]>
Newsgroups gmane.comp.python.cvs
Message-ID <[email protected]>
https://github.com/python/cpython/commit/1acb87fef27a310e6932be47da1dfe5b4a291796
commit: 1acb87fef27a310e6932be47da1dfe5b4a291796
branch: 3.15
author: Miss Islington (bot) <[email protected]>
committer: hugovk <[email protected]>
date: 2026-08-20T07:33:26Z
summary:

[3.15] gh-148216: Fix hyphenation in tutorial/stdlib.rst (GH-155736) (#156085)

gh-148216: Fix hyphenation in tutorial/stdlib.rst (GH-155736)
(cherry picked from commit 5be8020761f53d99d72d80436aac6ab823a95a6f)

Co-authored-by: Michele Angrisano <[email protected]>

files:
M Doc/tutorial/stdlib.rst

diff --git a/Doc/tutorial/stdlib.rst b/Doc/tutorial/stdlib.rst
index e7c641044740504..74b98e26c93debd 100644
--- a/Doc/tutorial/stdlib.rst
+++ b/Doc/tutorial/stdlib.rst
@@ -36,7 +36,7 @@ aids for working with large modules like :mod:`os`::
    <returns an extensive manual page created from the module's docstrings>
 
 For daily file and directory management tasks, the :mod:`shutil` module provides
-a higher level interface that is easier to use::
+a higher-level interface that is easier to use::
 
    >>> import shutil
    >>> shutil.copyfile('data.db', 'archive.db')
@@ -63,7 +63,7 @@ wildcard searches::
 Command-line arguments
 ======================
 
-Common utility scripts often need to process command line arguments. These
+Common utility scripts often need to process command-line arguments. These
 arguments are stored in the :mod:`sys` module's *argv* attribute as a list.  For
 instance, let's take the following :file:`demo.py` file::
 
@@ -77,7 +77,7 @@ line::
    ['demo.py', 'one', 'two', 'three']
 
 The :mod:`argparse` module provides a more sophisticated mechanism to process
-command line arguments.  The following script extracts one or more filenames
+command-line arguments.  The following script extracts one or more filenames
 and an optional number of lines to be displayed::
 
     import argparse

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.