]> granicus.if.org Git - python/commitdiff
Cleanup the doc a bit: remove useless example and sentence
authorEli Bendersky <eliben@gmail.com>
Tue, 24 Jul 2012 17:44:48 +0000 (20:44 +0300)
committerEli Bendersky <eliben@gmail.com>
Tue, 24 Jul 2012 17:44:48 +0000 (20:44 +0300)
Doc/library/filecmp.rst

index ae668ead7dcbe155234f2c2526936b4893d974bf..16dd100d3418ff37ba4e36a8622ad973855b3209 100644 (file)
@@ -48,23 +48,11 @@ The :mod:`filecmp` module defines the following functions:
    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:
 
 The :class:`dircmp` class
 -------------------------
 
-:class:`dircmp` instances are built using this constructor:
-
-
 .. class:: dircmp(a, b, ignore=None, hide=None)
 
    Construct a new directory comparison object, to compare the directories *a* and
@@ -80,7 +68,7 @@ The :class:`dircmp` class
 
    .. 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()