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

Method chunks

Lib/test/test_os/test_os.py:3536–3538  ·  view source on GitHub ↗
(reader)

Source from the content-addressed store, hash-verified

3534
3535 @staticmethod
3536 async def chunks(reader):
3537 while not reader.at_eof():
3538 yield await reader.read()
3539
3540 async def handle_new_client(self, reader, writer):
3541 self.server_buffer = b''.join([x async for x in self.chunks(reader)])

Callers 1

handle_new_clientMethod · 0.95

Calls 2

at_eofMethod · 0.80
readMethod · 0.45

Tested by

no test coverage detected