diff options
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) |
commit | 29a0b57e4ed19532dc78dbf08b957c85bfbafbd6 (patch) | |
tree | b7fae5150cb2e44679947e109e68eb2a05076f7d /Doc/library/fileinput.rst | |
parent | d478a46d563413d51a730678e4c72a54d2881123 (diff) | |
download | cpython-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.rst | 8 |
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: |