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

Method chunks

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

Source from the content-addressed store, hash-verified

3829
3830 @staticmethod
3831 async def chunks(reader):
3832 while not reader.at_eof():
3833 yield await reader.read()
3834
3835 async def handle_new_client(self, reader, writer):
3836 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