MCPcopy Create free account
hub / github.com/ActiveState/code / close

Method close

recipes/Python/436477_filetailpy/recipe-436477.py:173–178  ·  view source on GitHub ↗

Close the tail monitor, discarding any remaining input.

(self)

Source from the content-addressed store, hash-verified

171 return self._dequeue()
172
173 def close(self):
174 """Close the tail monitor, discarding any remaining input."""
175 self.f.close()
176 self.f = None
177 self.queue = []
178 self.window = []
179
180 def __iter__(self):
181 """Iterator interface, so you can do:

Callers 8

ShuffleMergeFunction · 0.45
raw_inputMethod · 0.45
recipe-438123.pyFile · 0.45
catenateFilesFunction · 0.45
_resetMethod · 0.45
getMethod · 0.45
read_and_parseFunction · 0.45
recipe-438818.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected