From f50d6bcbb7883f9f675901015bd5b038f9e11565 Mon Sep 17 00:00:00 2001 From: Eli Bendersky Date: Thu, 14 Mar 2013 14:39:51 -0700 Subject: Small cosmetic fixes --- Doc/library/filecmp.rst | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Doc/library/filecmp.rst b/Doc/library/filecmp.rst index e5ffefb..95c4ddf 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 -- cgit v0.12