summaryrefslogtreecommitdiff
path: root/Doc/library/filecmp.rst
diff options
context:
space:
mode:
authorEli Bendersky <eliben@gmail.com>2013-03-14 14:39:51 -0700
committerEli Bendersky <eliben@gmail.com>2013-03-14 14:39:51 -0700
commitf50d6bcbb7883f9f675901015bd5b038f9e11565 (patch)
treebc7f60a499196561787756f2f3c9ae3dacfd85ce /Doc/library/filecmp.rst
parentdfde54b66f720f3d476916535acfff7811bd513e (diff)
downloadcpython-git-f50d6bcbb7883f9f675901015bd5b038f9e11565.tar.gz
Small cosmetic fixes
Diffstat (limited to 'Doc/library/filecmp.rst')
-rw-r--r--Doc/library/filecmp.rst9
1 files changed, 3 insertions, 6 deletions
diff --git a/Doc/library/filecmp.rst b/Doc/library/filecmp.rst
index e5ffefbabe..95c4ddf267 100644
--- a/Doc/library/filecmp.rst
+++ b/Doc/library/filecmp.rst
@@ -56,8 +56,8 @@ The :class:`dircmp` class
.. class:: dircmp(a, b, ignore=None, hide=None)
Construct a new directory comparison object, to compare the directories *a*
- and *b*. *ignore* is a list of names to ignore, and defaults to
- :attr:`filecmp.DEFAULT_IGNORES`. *hide* is a list of names to hide, and
+ and *b*. *ignore* is a list of names to ignore, and defaults to
+ :attr:`filecmp.DEFAULT_IGNORES`. *hide* is a list of names to hide, and
defaults to ``[os.curdir, os.pardir]``.
The :class:`dircmp` class compares files by doing *shallow* comparisons
@@ -65,18 +65,15 @@ The :class:`dircmp` class
The :class:`dircmp` class provides the following methods:
-
.. method:: report()
Print (to :data:`sys.stdout`) a comparison between *a* and *b*.
-
.. method:: report_partial_closure()
Print a comparison between *a* and *b* and common immediate
subdirectories.
-
.. method:: report_full_closure()
Print a comparison between *a* and *b* and common subdirectories
@@ -133,7 +130,7 @@ The :class:`dircmp` class
.. attribute:: common_files
- Files in both *a* and *b*
+ Files in both *a* and *b*.
.. attribute:: common_funny