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

Method resetoutput

Lib/idlelib/pyshell.py:1408–1416  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1406 self.per.bottom.insert("iomark linestart", wrapped_msg, "stderr")
1407
1408 def resetoutput(self):
1409 source = self.text.get("iomark", "end-1c")
1410 if self.history:
1411 self.history.store(source)
1412 if self.text.get("end-2c") != "\n":
1413 self.text.insert("end-1c", "\n")
1414 self.text.mark_set("iomark", "end-1c")
1415 self.set_line_and_column()
1416 self.ctip.remove_calltip_window()
1417
1418 def write(self, s, tags=()):
1419 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