Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Pylons/webtest
/ __iter__
Method
__iter__
webtest/lint.py:233–238 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
231
return
lines
232
233
def
__iter__(self):
234
while
1:
235
line = self.readline()
236
if
not line:
237
return
238
yield
line
239
240
def
close(self):
241
raise
AssertionError(
"input.close() must not be called"
)
Callers
nothing calls this directly
Calls
1
readline
Method · 0.95
Tested by
no test coverage detected