summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Summerfield <list@qtrac.plus.com>2007-10-19 12:48:17 (GMT)
committerMark Summerfield <list@qtrac.plus.com>2007-10-19 12:48:17 (GMT)
commit0752d20a347c19f7e73ec111bfdb0d5d82c0bd00 (patch)
treec738f3ee7aada2b30e54abe73b737a8281aedb5f
parentc4ed9713a79a7f2b3f2782f58a867383c8c60ca8 (diff)
downloadcpython-0752d20a347c19f7e73ec111bfdb0d5d82c0bd00.zip
cpython-0752d20a347c19f7e73ec111bfdb0d5d82c0bd00.tar.gz
cpython-0752d20a347c19f7e73ec111bfdb0d5d82c0bd00.tar.bz2
Added a cross-ref to each other.
-rw-r--r--Doc/library/difflib.rst4
-rw-r--r--Doc/library/filecmp.rst3
2 files changed, 6 insertions, 1 deletions
diff --git a/Doc/library/difflib.rst b/Doc/library/difflib.rst
index 95b83e6..60367a4 100644
--- a/Doc/library/difflib.rst
+++ b/Doc/library/difflib.rst
@@ -12,6 +12,10 @@
.. versionadded:: 2.1
+This module provides classes and functions for comparing sequences. It
+can be used for example, for comparing files, and can produce difference
+information in various formats, including HTML and context and unified
+diffs. For comparing directories and files, see also, the :mod:`filecmp` module.
.. class:: SequenceMatcher
diff --git a/Doc/library/filecmp.rst b/Doc/library/filecmp.rst
index 6004214..141889e 100644
--- a/Doc/library/filecmp.rst
+++ b/Doc/library/filecmp.rst
@@ -8,7 +8,8 @@
The :mod:`filecmp` module defines functions to compare files and directories,
-with various optional time/correctness trade-offs.
+with various optional time/correctness trade-offs. For comparing files,
+see also the :mod:`difflib` module.
The :mod:`filecmp` module defines the following functions: