diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-04-27 20:06:41 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-04-27 20:06:41 (GMT) |
commit | 258a5d4dcb0fbf787c5e7e78b30e200534753413 (patch) | |
tree | 1582b1492f3bfbb4ca0a508259e142164c3100e0 | |
parent | fb7c8ae4e7762d5b862cace2f68b48ff42e39cb0 (diff) | |
parent | a87e6ba0ac54113c1617900d18ae05d3c0c2d366 (diff) | |
download | cpython-258a5d4dcb0fbf787c5e7e78b30e200534753413.zip cpython-258a5d4dcb0fbf787c5e7e78b30e200534753413.tar.gz cpython-258a5d4dcb0fbf787c5e7e78b30e200534753413.tar.bz2 |
fileinput.hook_encoded() uses builtin open(), not codecs.open().
-rw-r--r-- | Doc/library/fileinput.rst | 2 |
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 = |