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

Method write

Lib/gzip.py:134–138  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

132 self.gzip_file = weakref.ref(gzip_file)
133
134 def write(self, data):
135 gzip_file = self.gzip_file()
136 if gzip_file is None:
137 raise RuntimeError("lost gzip_file")
138 return gzip_file._write_raw(data)
139
140 def seekable(self):
141 return False

Callers

nothing calls this directly

Calls 1

_write_rawMethod · 0.80

Tested by

no test coverage detected