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

Method readline

Lib/test/support/pty_helper.py:78–81  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

76 self.lines = lines
77
78 def readline(self):
79 line = self.lines.pop(0)
80 print(line)
81 return line + '\n'

Callers 15

handle_clientMethod · 0.45
clientMethod · 0.45
innerMethod · 0.45
send_signalMethod · 0.45
clientMethod · 0.45
serveMethod · 0.45
serveMethod · 0.45
_test_pipeMethod · 0.45
clientMethod · 0.45

Calls 2

printFunction · 0.50
popMethod · 0.45

Tested by 15

handle_clientMethod · 0.36
clientMethod · 0.36
innerMethod · 0.36
send_signalMethod · 0.36
clientMethod · 0.36
serveMethod · 0.36
serveMethod · 0.36
_test_pipeMethod · 0.36
clientMethod · 0.36