summaryrefslogtreecommitdiffstats
path: root/Doc/library/fileinput.rst
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-08-19 00:14:03 (GMT)
committerÉric Araujo <merwok@netwok.org>2011-08-19 00:14:03 (GMT)
commit29a0b57e4ed19532dc78dbf08b957c85bfbafbd6 (patch)
treeb7fae5150cb2e44679947e109e68eb2a05076f7d /Doc/library/fileinput.rst
parentd478a46d563413d51a730678e4c72a54d2881123 (diff)
downloadcpython-29a0b57e4ed19532dc78dbf08b957c85bfbafbd6.zip
cpython-29a0b57e4ed19532dc78dbf08b957c85bfbafbd6.tar.gz
cpython-29a0b57e4ed19532dc78dbf08b957c85bfbafbd6.tar.bz2
Backport source links from 3.x.
Existing links have been updated to use the new reST role. In some files, I have also made cosmetic changes to the header.
Diffstat (limited to 'Doc/library/fileinput.rst')
-rw-r--r--Doc/library/fileinput.rst8
1 files changed, 3 insertions, 5 deletions
diff --git a/Doc/library/fileinput.rst b/Doc/library/fileinput.rst
index 709237e..172a643 100644
--- a/Doc/library/fileinput.rst
+++ b/Doc/library/fileinput.rst
@@ -6,6 +6,9 @@
.. moduleauthor:: Guido van Rossum <guido@python.org>
.. sectionauthor:: Fred L. Drake, Jr. <fdrake@acm.org>
+**Source code:** :source:`Lib/fileinput.py`
+
+--------------
This module implements a helper class and functions to quickly write a
loop over standard input or a list of files. If you just want to read or
@@ -44,11 +47,6 @@ hook must be a function that takes two arguments, *filename* and *mode*, and
returns an accordingly opened file-like object. Two useful hooks are already
provided by this module.
-.. seealso::
-
- Latest version of the `fileinput Python source code
- <http://svn.python.org/view/python/branches/release27-maint/Lib/fileinput.py?view=markup>`_
-
The following function is the primary interface of this module: