MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / read_lines_to_eof

Method read_lines_to_eof

tools/python-3.11.9-amd64/Lib/cgi.py:737–745  ·  view source on GitHub ↗

Internal: read lines until EOF.

(self)

Source from the content-addressed store, hash-verified

735 self.file.write(line.decode(self.encoding, self.errors))
736
737 def read_lines_to_eof(self):
738 """Internal: read lines until EOF."""
739 while 1:
740 line = self.fp.readline(1<<16) # bytes
741 self.bytes_read += len(line)
742 if not line:
743 self.done = -1
744 break
745 self.__write(line)
746
747 def read_lines_to_outerboundary(self):
748 """Internal: read lines until outerboundary.

Callers 1

read_linesMethod · 0.95

Calls 2

__writeMethod · 0.95
readlineMethod · 0.45

Tested by

no test coverage detected