summaryrefslogtreecommitdiffstats
path: root/Doc/library/fileinput.rst
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2011-01-10 03:26:08 (GMT)
committerRaymond Hettinger <python@rcn.com>2011-01-10 03:26:08 (GMT)
commit10480940373492652bc285fca3fa74751c271645 (patch)
treebb1bfed3416120cc371eb884960cf73aad9a957e /Doc/library/fileinput.rst
parenta4815caa7ccf21aa994d0e0eec66873072f0e352 (diff)
downloadcpython-10480940373492652bc285fca3fa74751c271645.zip
cpython-10480940373492652bc285fca3fa74751c271645.tar.gz
cpython-10480940373492652bc285fca3fa74751c271645.tar.bz2
Move source links to consistent location and remove wordy, big yellow boxes.
Diffstat (limited to 'Doc/library/fileinput.rst')
-rw-r--r--Doc/library/fileinput.rst6
1 files changed, 1 insertions, 5 deletions
diff --git a/Doc/library/fileinput.rst b/Doc/library/fileinput.rst
index 9174830..1e71ebd 100644
--- a/Doc/library/fileinput.rst
+++ b/Doc/library/fileinput.rst
@@ -6,6 +6,7 @@
.. 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 +45,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 :source:`fileinput Python source code
- <Lib/fileinput.py>`
-
The following function is the primary interface of this module: