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

Method create_writer

Lib/test/test_capi/test_bytes.py:305–306  ·  view source on GitHub ↗
(self, alloc=0, string=b'')

Source from the content-addressed store, hash-verified

303 result_type = bytes
304
305 def create_writer(self, alloc=0, string=b''):
306 return _testcapi.PyBytesWriter(alloc, string, 0)
307
308 def test_create(self):
309 # Test PyBytesWriter_Create()

Callers 4

test_createMethod · 0.95
test_write_bytesMethod · 0.95
test_resizeMethod · 0.95
test_format_iMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected