MCPcopy Index your code
hub / github.com/RustPython/RustPython / write

Method write

Lib/test/test_zipfile/test_core.py:2922–2925  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

2920 self.offset = 0
2921
2922 def write(self, data):
2923 n = self.fp.write(data)
2924 self.offset += n
2925 return n
2926
2927 def tell(self):
2928 return self.offset

Callers 15

test_open_wMethod · 0.45
test_open_wbMethod · 0.45
setUpMethod · 0.45
setUpMethod · 0.45
create_fileMethod · 0.45
create_hierarchyMethod · 0.45
setUpMethod · 0.45
make_test_archiveMethod · 0.45
test_reprMethod · 0.45
writeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected