Small cosmetic fixes
This commit is contained in:
parent
dfde54b66f
commit
f50d6bcbb7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue