summaryrefslogtreecommitdiff
path: root/Doc/library/fileinput.rst
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2010-11-16 19:13:50 +0000
committerÉric Araujo <merwok@netwok.org>2010-11-16 19:13:50 +0000
commit208ebee75e9387807d33e91373dbb4ad767f513e (patch)
tree780b22149cf9a455614b6c1707e3ba7702b12ef8 /Doc/library/fileinput.rst
parenteee86809bc4be2fcc73ea62a09cbd4ac8d011f6b (diff)
downloadcpython-208ebee75e9387807d33e91373dbb4ad767f513e.tar.gz
Provide links to Python source where the code is short, readable and
informative adjunct to the docs. Forward-port of Raymond's r86225 and r86245 using the new source reST role added in #10334.
Diffstat (limited to 'Doc/library/fileinput.rst')
-rw-r--r--Doc/library/fileinput.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/library/fileinput.rst b/Doc/library/fileinput.rst
index 7055f32ab0..9174830fc1 100644
--- a/Doc/library/fileinput.rst
+++ b/Doc/library/fileinput.rst
@@ -44,6 +44,11 @@ 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: