[Python-checkins] cpython: Cleanup the doc a bit: remove useless example and sentence
eli.bendersky
python-checkins at python.org
Tue Jul 24 19:45:29 CEST 2012
http://hg.python.org/cpython/rev/bfda7d8c8a38
changeset: 78268:bfda7d8c8a38
user: Eli Bendersky <eliben at gmail.com>
date: Tue Jul 24 20:44:48 2012 +0300
summary:
Cleanup the doc a bit: remove useless example and sentence
files:
Doc/library/filecmp.rst | 14 +-------------
1 files changed, 1 insertions(+), 13 deletions(-)
diff --git a/Doc/library/filecmp.rst b/Doc/library/filecmp.rst
--- a/Doc/library/filecmp.rst
+++ b/Doc/library/filecmp.rst
@@ -48,23 +48,11 @@
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 @@
.. 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()
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list