summaryrefslogtreecommitdiffstats
path: root/Doc/library/fileinput.rst
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2021-05-21 18:09:09 (GMT)
committerGitHub <noreply@github.com>2021-05-21 18:09:09 (GMT)
commitb06ed1d883cd79c920c514d8a1f4643cf93dc5e0 (patch)
treebd5b7907f43b5c8231a7ccd79dbe19f5baeaaf3a /Doc/library/fileinput.rst
parent2f47d8dcc735234bf9c7f92fbdacd8c5a6ee7761 (diff)
downloadcpython-b06ed1d883cd79c920c514d8a1f4643cf93dc5e0.zip
cpython-b06ed1d883cd79c920c514d8a1f4643cf93dc5e0.tar.gz
cpython-b06ed1d883cd79c920c514d8a1f4643cf93dc5e0.tar.bz2
Remove duplicate words in docs. (GH-26167)
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 8196400..3880ed3 100644
--- a/Doc/library/fileinput.rst
+++ b/Doc/library/fileinput.rst
@@ -205,7 +205,7 @@ The two following opening hooks are provided by this module:
modules. If the filename extension is not ``'.gz'`` or ``'.bz2'``, the file is
opened normally (ie, using :func:`open` without any decompression).
- The *encoding* and *errors* values are passed to to :class:`io.TextIOWrapper`
+ The *encoding* and *errors* values are passed to :class:`io.TextIOWrapper`
for compressed files and open for normal files.
Usage example: ``fi = fileinput.FileInput(openhook=fileinput.hook_compressed, encoding="utf-8")``