Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f7a54a0

Browse files
committed
Cleanup the doc a bit: remove useless example and sentence
1 parent c43c558 commit f7a54a0

1 file changed

Lines changed: 1 addition & 13 deletions

File tree

Doc/library/filecmp.rst

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -48,23 +48,11 @@ The :mod:`filecmp` module defines the following functions:
4848
one of the three returned lists.
4949

5050

51-
Example::
52-
53-
>>> import filecmp
54-
>>> filecmp.cmp('undoc.rst', 'undoc.rst')
55-
True
56-
>>> filecmp.cmp('undoc.rst', 'index.rst')
57-
False
58-
59-
6051
.. _dircmp-objects:
6152

6253
The :class:`dircmp` class
6354
-------------------------
6455

65-
:class:`dircmp` instances are built using this constructor:
66-
67-
6856
.. class:: dircmp(a, b, ignore=None, hide=None)
6957

7058
Construct a new directory comparison object, to compare the directories *a* and
@@ -80,7 +68,7 @@ The :class:`dircmp` class
8068

8169
.. method:: report()
8270

83-
Print (to ``sys.stdout``) a comparison between *a* and *b*.
71+
Print (to :data:`sys.stdout`) a comparison between *a* and *b*.
8472

8573

8674
.. method:: report_partial_closure()

0 commit comments

Comments
 (0)