From a87e6ba0ac54113c1617900d18ae05d3c0c2d366 Mon Sep 17 00:00:00 2001
From: Serhiy Storchaka <storchaka@gmail.com>
Date: Wed, 27 Apr 2016 23:06:15 +0300
Subject: [PATCH] fileinput.hook_encoded() uses builtin open(), not
 codecs.open().

---
 Doc/library/fileinput.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Doc/library/fileinput.rst b/Doc/library/fileinput.rst
index 9510f76332..a55bbe324f 100644
--- a/Doc/library/fileinput.rst
+++ b/Doc/library/fileinput.rst
@@ -196,7 +196,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 =
-- 
2.40.0