summaryrefslogtreecommitdiffstats
path: root/Doc/library/fileinput.rst
diff options
context:
space:
mode:
authorMark Summerfield <list@qtrac.plus.com>2007-09-13 14:54:30 (GMT)
committerMark Summerfield <list@qtrac.plus.com>2007-09-13 14:54:30 (GMT)
commitddca9f0823e44dd9c35d38de65417c09521ab5aa (patch)
treea27c69fa99dfc4f3ecc9a3c64cd743c96e5eb74a /Doc/library/fileinput.rst
parent0dda1e9e948e223a93c8852d8c2a3cc790630f2e (diff)
downloadcpython-ddca9f0823e44dd9c35d38de65417c09521ab5aa.zip
cpython-ddca9f0823e44dd9c35d38de65417c09521ab5aa.tar.gz
cpython-ddca9f0823e44dd9c35d38de65417c09521ab5aa.tar.bz2
Replaced variable o with obj in operator.rst because o is easy to
confuse. Added a note about Python 3's collections.Mapping etc., above section that describes isMappingType() etc. Added xrefs between os, os.path, fileinput, and open().
Diffstat (limited to 'Doc/library/fileinput.rst')
-rw-r--r--Doc/library/fileinput.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/library/fileinput.rst b/Doc/library/fileinput.rst
index d45def1..b3f7e61 100644
--- a/Doc/library/fileinput.rst
+++ b/Doc/library/fileinput.rst
@@ -7,8 +7,9 @@
.. sectionauthor:: Fred L. Drake, Jr. <fdrake@acm.org>
-This module implements a helper class and functions to quickly write a loop over
-standard input or a list of files.
+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
+write one file see :func:`open`.
The typical use is::