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

Method resetoutput

tools/python-3.11.9-amd64/Lib/idlelib/pyshell.py:1411–1419  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1409 self.per.bottom.insert("iomark linestart", wrapped_msg, "stderr")
1410
1411 def resetoutput(self):
1412 source = self.text.get("iomark", "end-1c")
1413 if self.history:
1414 self.history.store(source)
1415 if self.text.get("end-2c") != "\n":
1416 self.text.insert("end-1c", "\n")
1417 self.text.mark_set("iomark", "end-1c")
1418 self.set_line_and_column()
1419 self.ctip.remove_calltip_window()
1420
1421 def write(self, s, tags=()):
1422 try:

Callers 11

close_debuggerMethod · 0.95
beginexecutingMethod · 0.95
beginMethod · 0.95
readlineMethod · 0.95
cancel_callbackMethod · 0.95
eof_callbackMethod · 0.95
showpromptMethod · 0.95
poll_subprocessMethod · 0.80
execfileMethod · 0.80
showsyntaxerrorMethod · 0.80
showtracebackMethod · 0.80

Calls 6

set_line_and_columnMethod · 0.80
getMethod · 0.45
storeMethod · 0.45
insertMethod · 0.45
mark_setMethod · 0.45
remove_calltip_windowMethod · 0.45

Tested by

no test coverage detected