mirror of
https://github.com/python/cpython.git
synced 2025-08-28 20:56:54 +00:00
Whitespace normalization.
This commit is contained in:
parent
c86c1b88f9
commit
863ac44b74
23 changed files with 84 additions and 88 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue