diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2013-10-09 11:09:35 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-10-09 11:09:35 (GMT) |
commit | fa81cd95b41d7953399f45a2f6e51ff2d846b303 (patch) | |
tree | 3c97809ecc6adb6c2483d6f4dce9f8b40050503d /Doc/distutils/apiref.rst | |
parent | 0d85b5c68d663d0c735d2618f11fb3dbbd1f2cdc (diff) | |
parent | 7880db613621ac3a9ff5081bc31d13966a8bf343 (diff) | |
download | cpython-fa81cd95b41d7953399f45a2f6e51ff2d846b303.zip cpython-fa81cd95b41d7953399f45a2f6e51ff2d846b303.tar.gz cpython-fa81cd95b41d7953399f45a2f6e51ff2d846b303.tar.bz2 |
#19196: Improved cross-references in distutils documentation.
Diffstat (limited to 'Doc/distutils/apiref.rst')
-rw-r--r-- | Doc/distutils/apiref.rst | 15 |
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 |