summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSanchit Khurana <54467174+GeniusLearner@users.noreply.github.com>2019-11-25 22:17:59 (GMT)
committerBrett Cannon <54418+brettcannon@users.noreply.github.com>2019-11-25 22:17:59 (GMT)
commitf8a6316778faff3991144c3aec4fa92d7b30a72b (patch)
tree98cb85c8aba2991605a285d7520ce50be764231c
parentc6a7bdb356835c9d7513b1ea6846683d446fe6c3 (diff)
downloadcpython-f8a6316778faff3991144c3aec4fa92d7b30a72b.zip
cpython-f8a6316778faff3991144c3aec4fa92d7b30a72b.tar.gz
cpython-f8a6316778faff3991144c3aec4fa92d7b30a72b.tar.bz2
bpo-21063: Improve module synopsis for distutils (GH-17363)
-rw-r--r--Doc/distutils/apiref.rst10
-rw-r--r--Doc/library/2to3.rst2
-rw-r--r--Doc/library/linecache.rst2
-rw-r--r--Doc/library/statistics.rst2
-rw-r--r--Doc/library/zipimport.rst2
5 files changed, 9 insertions, 9 deletions
diff --git a/Doc/distutils/apiref.rst b/Doc/distutils/apiref.rst
index a42d2d3..80136b8 100644
--- a/Doc/distutils/apiref.rst
+++ b/Doc/distutils/apiref.rst
@@ -1545,7 +1545,7 @@ Python's own build procedures.
=================================================
.. module:: distutils.text_file
- :synopsis: provides the TextFile class, a simple interface to text files
+ :synopsis: Provides the TextFile class, a simple interface to text files
This module provides the :class:`TextFile` class, which gives an interface to
@@ -1684,7 +1684,7 @@ lines, and joining lines with backslashes.
===================================================
.. module:: distutils.version
- :synopsis: implements classes that represent module version numbers.
+ :synopsis: Implements classes that represent module version numbers.
.. % todo
@@ -1699,7 +1699,7 @@ lines, and joining lines with backslashes.
===================================================================
.. module:: distutils.cmd
- :synopsis: This module provides the abstract base class Command. This class
+ :synopsis: Provides the abstract base class :class:`~distutils.cmd.Command`. This class
is subclassed by the modules in the distutils.command subpackage.
@@ -1792,7 +1792,7 @@ Subclasses of :class:`Command` must define the following methods.
==========================================================
.. module:: distutils.command
- :synopsis: This subpackage contains one module for each standard Distutils command.
+ :synopsis: Contains one module for each standard Distutils command.
.. % \subsubsection{Individual Distutils commands}
@@ -2039,7 +2039,7 @@ This is described in more detail in :pep:`301`.
===================================================================
.. module:: distutils.command.check
- :synopsis: Check the metadata of a package
+ :synopsis: Check the meta-data of a package
The ``check`` command performs some tests on the meta-data of a package.
diff --git a/Doc/library/2to3.rst b/Doc/library/2to3.rst
index fa4b0a9..c3ff3e60 100644
--- a/Doc/library/2to3.rst
+++ b/Doc/library/2to3.rst
@@ -456,7 +456,7 @@ and off individually. They are described here in more detail.
-------------------------------
.. module:: lib2to3
- :synopsis: the 2to3 library
+ :synopsis: The 2to3 library
.. moduleauthor:: Guido van Rossum
.. moduleauthor:: Collin Winter
diff --git a/Doc/library/linecache.rst b/Doc/library/linecache.rst
index 9278fc0..dd9f4ee 100644
--- a/Doc/library/linecache.rst
+++ b/Doc/library/linecache.rst
@@ -2,7 +2,7 @@
================================================
.. module:: linecache
- :synopsis: This module provides random access to individual lines from text files.
+ :synopsis: Provides random access to individual lines from text files.
.. sectionauthor:: Moshe Zadka <moshez@zadka.site.co.il>
diff --git a/Doc/library/statistics.rst b/Doc/library/statistics.rst
index a790ed8..4c7239c 100644
--- a/Doc/library/statistics.rst
+++ b/Doc/library/statistics.rst
@@ -2,7 +2,7 @@
=======================================================
.. module:: statistics
- :synopsis: mathematical statistics functions
+ :synopsis: Mathematical statistics functions
.. moduleauthor:: Steven D'Aprano <steve+python@pearwood.info>
.. sectionauthor:: Steven D'Aprano <steve+python@pearwood.info>
diff --git a/Doc/library/zipimport.rst b/Doc/library/zipimport.rst
index 2138697..8ac3fb1 100644
--- a/Doc/library/zipimport.rst
+++ b/Doc/library/zipimport.rst
@@ -2,7 +2,7 @@
=====================================================
.. module:: zipimport
- :synopsis: support for importing Python modules from ZIP archives.
+ :synopsis: Support for importing Python modules from ZIP archives.
.. moduleauthor:: Just van Rossum <just@letterror.com>