summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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: