summaryrefslogtreecommitdiffstats
path: root/Lib/fileinput.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2002-04-16 01:38:40 (GMT)
committerTim Peters <tim.peters@gmail.com>2002-04-16 01:38:40 (GMT)
commit863ac44b74cd66f7d289748816d65c65808c149b (patch)
tree8536f8a72110b9996cb9e6746b6bb4cf3cb73733 /Lib/fileinput.py
parentc86c1b88f96ec48e5502b9b8ba5cc833f57ce476 (diff)
downloadcpython-863ac44b74cd66f7d289748816d65c65808c149b.zip
cpython-863ac44b74cd66f7d289748816d65c65808c149b.tar.gz
cpython-863ac44b74cd66f7d289748816d65c65808c149b.tar.bz2
Whitespace normalization.
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 77487ed..2f17dc8 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"