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

Method create_memoryview

Lib/multiprocessing/heap.py:331–333  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

329 util.Finalize(self, BufferWrapper._heap.free, args=(block,))
330
331 def create_memoryview(self):
332 (arena, start, stop), size = self._state
333 return memoryview(arena.buffer)[start:start+size]

Callers 3

__setstate__Method · 0.80
rebuild_ctypeFunction · 0.80
__setstate__Method · 0.80

Calls

no outgoing calls

Tested by 1

__setstate__Method · 0.64