summaryrefslogtreecommitdiffstats
path: root/Doc/distutils/apiref.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-10-09 11:09:16 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-10-09 11:09:16 (GMT)
commit7880db613621ac3a9ff5081bc31d13966a8bf343 (patch)
treedac403ae1f9764cd2912203c4e0f108a9be2e7a6 /Doc/distutils/apiref.rst
parent0d196edc3779f75bf1761159eda239e3a1d6c231 (diff)
downloadcpython-7880db613621ac3a9ff5081bc31d13966a8bf343.zip
cpython-7880db613621ac3a9ff5081bc31d13966a8bf343.tar.gz
cpython-7880db613621ac3a9ff5081bc31d13966a8bf343.tar.bz2
#19196: Improved cross-references in distutils documentation.
Diffstat (limited to 'Doc/distutils/apiref.rst')
-rw-r--r--Doc/distutils/apiref.rst15
1 files changed, 8 insertions, 7 deletions
diff --git a/Doc/distutils/apiref.rst b/Doc/distutils/apiref.rst
index 246be14..54f0a4e 100644
--- a/Doc/distutils/apiref.rst
+++ b/Doc/distutils/apiref.rst
@@ -994,8 +994,9 @@ directories.
simply the list of all files under *src*, with the names changed to be under
*dst*.
- *preserve_mode* and *preserve_times* are the same as for :func:`copy_file` in
- :mod:`distutils.file_util`; note that they only apply to regular files, not to
+ *preserve_mode* and *preserve_times* are the same as for
+ :func:`distutils.file_util.copy_file`; note that they only apply to
+ regular files, not to
directories. If *preserve_symlinks* is true, symlinks will be copied as
symlinks (on platforms that support them!); otherwise (the default), the
destination of the symlink will be copied. *update* and *verbose* are the same
@@ -1175,7 +1176,7 @@ other utility module.
Generate a useful error message from an :exc:`OSError` exception object.
Handles Python 1.5.1 and later styles, and does what it can to deal with
exception objects that don't have a filename (which happens when the error
- is due to a two-file operation, such as :func:`rename` or :func:`link`).
+ is due to a two-file operation, such as :func:`~os.rename` or :func:`~os.link`).
Returns the error message as a string prefixed with *prefix*.
@@ -1265,8 +1266,8 @@ other utility module.
built/installed/distributed
-This module provides the :class:`Distribution` class, which represents the
-module distribution being built/installed/distributed.
+This module provides the :class:`~distutils.core.Distribution` class, which
+represents the module distribution being built/installed/distributed.
:mod:`distutils.extension` --- The Extension class
@@ -1712,8 +1713,8 @@ This module supplies the abstract base class :class:`Command`.
options, is the :meth:`run` method, which must also be implemented by every
command class.
- The class constructor takes a single argument *dist*, a :class:`Distribution`
- instance.
+ The class constructor takes a single argument *dist*, a
+ :class:`~distutils.core.Distribution` instance.
Creating a new Distutils command