MCPcopy Index your code
hub / github.com/fluentpython/example-code-2e / __init__

Method __init__

21-async/mojifinder/bottle.py:2252–2254  ·  view source on GitHub ↗
(self, iterator, close=None)

Source from the content-addressed store, hash-verified

2250 do not support attribute assignment (most of itertools). '''
2251
2252 def __init__(self, iterator, close=None):
2253 self.iterator = iterator
2254 self.close_callbacks = makelist(close)
2255
2256 def __iter__(self):
2257 return iter(self.iterator)

Callers

nothing calls this directly

Calls 1

makelistFunction · 0.85

Tested by

no test coverage detected