summaryrefslogtreecommitdiffstats
path: root/Doc/library/fileinput.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-07-26 14:19:57 (GMT)
committerGeorg Brandl <georg@python.org>2009-07-26 14:19:57 (GMT)
commit9fa61bb37d68225c827aa7809382ea701c264db5 (patch)
tree7a086015c9e4ecbb02ad38895cf7dcc4cb7be605 /Doc/library/fileinput.rst
parent74f8fc0b1bccc971a3055b2e364c4a2db5123d50 (diff)
downloadcpython-9fa61bb37d68225c827aa7809382ea701c264db5.zip
cpython-9fa61bb37d68225c827aa7809382ea701c264db5.tar.gz
cpython-9fa61bb37d68225c827aa7809382ea701c264db5.tar.bz2
#6577: fix (hopefully) all links to builtin instead of module/class-specific objects.
Diffstat (limited to 'Doc/library/fileinput.rst')
-rw-r--r--Doc/library/fileinput.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/fileinput.rst b/Doc/library/fileinput.rst
index 3253a07..ffd109c 100644
--- a/Doc/library/fileinput.rst
+++ b/Doc/library/fileinput.rst
@@ -20,10 +20,10 @@ The typical use is::
This iterates over the lines of all files listed in ``sys.argv[1:]``, defaulting
to ``sys.stdin`` if the list is empty. If a filename is ``'-'``, it is also
replaced by ``sys.stdin``. To specify an alternative list of filenames, pass it
-as the first argument to :func:`input`. A single file name is also allowed.
+as the first argument to :func:`.input`. A single file name is also allowed.
All files are opened in text mode by default, but you can override this by
-specifying the *mode* parameter in the call to :func:`input` or
+specifying the *mode* parameter in the call to :func:`.input` or
:class:`FileInput()`. If an I/O error occurs during opening or reading a file,
:exc:`IOError` is raised.