summaryrefslogtreecommitdiffstatshomepage
path: root/Lib/fileinput.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/fileinput.py')
-rw-r--r--Lib/fileinput.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/fileinput.py b/Lib/fileinput.py
index 77487edd706..2f17dc8892f 100644
--- a/Lib/fileinput.py
+++ b/Lib/fileinput.py
@@ -183,7 +183,7 @@ class FileInput:
if not line:
raise StopIteration
return line
-
+
def __getitem__(self, i):
if i != self._lineno:
raise RuntimeError, "accessing lines out of order"