MCPcopy Index your code
hub / github.com/python/cpython / flush

Method flush

Lib/zipfile/__init__.py:768–771  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

766 return self._comp.compress(data)
767
768 def flush(self):
769 if self._comp is None:
770 return self._init() + self._comp.flush()
771 return self._comp.flush()
772
773
774class LZMADecompressor:

Callers 10

compressFunction · 0.95
test_simple_bad_argsMethod · 0.95
test_roundtrip_xzMethod · 0.95
test_roundtrip_aloneMethod · 0.95
test_roundtrip_rawMethod · 0.95
test_roundtrip_chunksMethod · 0.95
test_compressorMethod · 0.95

Calls 2

_initMethod · 0.95
flushMethod · 0.45

Tested by 9

test_simple_bad_argsMethod · 0.76
test_roundtrip_xzMethod · 0.76
test_roundtrip_aloneMethod · 0.76
test_roundtrip_rawMethod · 0.76
test_roundtrip_chunksMethod · 0.76
test_compressorMethod · 0.76