diff options
author | Eli Bendersky <eliben@gmail.com> | 2012-07-24 20:44:48 +0300 |
---|---|---|
committer | Eli Bendersky <eliben@gmail.com> | 2012-07-24 20:44:48 +0300 |
commit | f7a54a0f12bcc712c5bd74105fe77ff30da974bb (patch) | |
tree | 8be95b143845b5adc466ba02198eb1ac9854f00f /Doc/library/filecmp.rst | |
parent | c43c55865821f0b23d6d3b820788cc6b14010335 (diff) | |
download | cpython-git-f7a54a0f12bcc712c5bd74105fe77ff30da974bb.tar.gz |
Cleanup the doc a bit: remove useless example and sentence
Diffstat (limited to 'Doc/library/filecmp.rst')
-rw-r--r-- | Doc/library/filecmp.rst | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/Doc/library/filecmp.rst b/Doc/library/filecmp.rst index ae668ead7d..16dd100d34 100644 --- a/Doc/library/filecmp.rst +++ b/Doc/library/filecmp.rst @@ -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() |