diff options
author | Eli Bendersky <eliben@gmail.com> | 2013-03-14 21:39:51 (GMT) |
---|---|---|
committer | Eli Bendersky <eliben@gmail.com> | 2013-03-14 21:39:51 (GMT) |
commit | f50d6bcbb7883f9f675901015bd5b038f9e11565 (patch) | |
tree | bc7f60a499196561787756f2f3c9ae3dacfd85ce /Doc/library/filecmp.rst | |
parent | dfde54b66f720f3d476916535acfff7811bd513e (diff) | |
download | cpython-f50d6bcbb7883f9f675901015bd5b038f9e11565.zip cpython-f50d6bcbb7883f9f675901015bd5b038f9e11565.tar.gz cpython-f50d6bcbb7883f9f675901015bd5b038f9e11565.tar.bz2 |
Small cosmetic fixes
Diffstat (limited to 'Doc/library/filecmp.rst')
-rw-r--r-- | Doc/library/filecmp.rst | 9 |
1 files 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 |