summaryrefslogtreecommitdiffstats
path: root/Doc/library/fileinput.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-04-27 20:06:41 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-04-27 20:06:41 (GMT)
commit258a5d4dcb0fbf787c5e7e78b30e200534753413 (patch)
tree1582b1492f3bfbb4ca0a508259e142164c3100e0 /Doc/library/fileinput.rst
parentfb7c8ae4e7762d5b862cace2f68b48ff42e39cb0 (diff)
parenta87e6ba0ac54113c1617900d18ae05d3c0c2d366 (diff)
downloadcpython-258a5d4dcb0fbf787c5e7e78b30e200534753413.zip
cpython-258a5d4dcb0fbf787c5e7e78b30e200534753413.tar.gz
cpython-258a5d4dcb0fbf787c5e7e78b30e200534753413.tar.bz2
fileinput.hook_encoded() uses builtin open(), not codecs.open().
Diffstat (limited to 'Doc/library/fileinput.rst')
-rw-r--r--Doc/library/fileinput.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/fileinput.rst b/Doc/library/fileinput.rst
index 6ca4008..3433682 100644
--- a/Doc/library/fileinput.rst
+++ b/Doc/library/fileinput.rst
@@ -195,7 +195,7 @@ The two following opening hooks are provided by this module:
.. function:: hook_encoded(encoding)
- Returns a hook which opens each file with :func:`codecs.open`, using the given
+ Returns a hook which opens each file with :func:`open`, using the given
*encoding* to read the file.
Usage example: ``fi =