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

Method create_writer

Lib/test/test_capi/test_unicode.py:1985–1986  ·  view source on GitHub ↗
(self, size)

Source from the content-addressed store, hash-verified

1983@unittest.skipIf(ctypes is None, 'need ctypes')
1984class PyUnicodeWriterFormatTest(unittest.TestCase):
1985 def create_writer(self, size):
1986 return _testcapi.PyUnicodeWriter(size)
1987
1988 def writer_format(self, writer, *args):
1989 from ctypes import c_char_p, pythonapi, c_int, c_void_p

Callers 2

test_formatMethod · 0.95
test_recover_errorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected