summaryrefslogtreecommitdiffstats
path: root/Lib/fileinput.py
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-01-16 06:26:54 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-01-16 06:26:54 (GMT)
commit7978e10441e84482d3d28e7c449d68b77c6310b6 (patch)
tree56b380281bfa9e1787ed43a8ed47047d37d1e341 /Lib/fileinput.py
parent7b3a82ff556ad3ec2c0d77c6daacddcac9d1bc7b (diff)
downloadcpython-7978e10441e84482d3d28e7c449d68b77c6310b6.zip
cpython-7978e10441e84482d3d28e7c449d68b77c6310b6.tar.gz
cpython-7978e10441e84482d3d28e7c449d68b77c6310b6.tar.bz2
Issue #23883: Missing fileinput.__all__ APIs; patch by Mauro SM Rodrigues
Diffstat (limited to 'Lib/fileinput.py')
-rw-r--r--Lib/fileinput.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/fileinput.py b/Lib/fileinput.py
index 021e39f..3543653 100644
--- a/Lib/fileinput.py
+++ b/Lib/fileinput.py
@@ -82,7 +82,8 @@ XXX Possible additions:
import sys, os
__all__ = ["input", "close", "nextfile", "filename", "lineno", "filelineno",
- "isfirstline", "isstdin", "FileInput"]
+ "fileno", "isfirstline", "isstdin", "FileInput", "hook_compressed",
+ "hook_encoded"]
_state = None