readline generator no longer needs to yield empty strings
This commit is contained in:
parent
a406ca14d6
commit
3284d575e8
|
@ -280,8 +280,6 @@ def deindent(lines, offset=None):
|
|||
def readline_generator(lines):
|
||||
for line in lines:
|
||||
yield line + '\n'
|
||||
while True:
|
||||
yield ''
|
||||
|
||||
it = readline_generator(lines)
|
||||
|
||||
|
|
Loading…
Reference in New Issue