Commit c286e19c authored by Eli Bendersky's avatar Eli Bendersky

Cleanup the doc a bit: remove useless example and sentence

parent 7b46990e
...@@ -48,23 +48,11 @@ The :mod:`filecmp` module defines the following functions: ...@@ -48,23 +48,11 @@ The :mod:`filecmp` module defines the following functions:
one of the three returned lists. one of the three returned lists.
Example::
>>> import filecmp
>>> filecmp.cmp('undoc.rst', 'undoc.rst')
True
>>> filecmp.cmp('undoc.rst', 'index.rst')
False
.. _dircmp-objects: .. _dircmp-objects:
The :class:`dircmp` class The :class:`dircmp` class
------------------------- -------------------------
:class:`dircmp` instances are built using this constructor:
.. class:: dircmp(a, b, ignore=None, hide=None) .. class:: dircmp(a, b, ignore=None, hide=None)
Construct a new directory comparison object, to compare the directories *a* and Construct a new directory comparison object, to compare the directories *a* and
...@@ -80,7 +68,7 @@ The :class:`dircmp` class ...@@ -80,7 +68,7 @@ The :class:`dircmp` class
.. method:: report() .. method:: report()
Print (to ``sys.stdout``) a comparison between *a* and *b*. Print (to :data:`sys.stdout`) a comparison between *a* and *b*.
.. method:: report_partial_closure() .. method:: report_partial_closure()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment