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

Method write

Lib/idlelib/pyshell.py:1418–1430  ·  view source on GitHub ↗
(self, s, tags=())

Source from the content-addressed store, hash-verified

1416 self.ctip.remove_calltip_window()
1417
1418 def write(self, s, tags=()):
1419 try:
1420 self.text.mark_gravity("iomark", "right")
1421 count = OutputWindow.write(self, s, tags, "iomark")
1422 self.text.mark_gravity("iomark", "left")
1423 except:
1424 raise ###pass # ### 11Aug07 KBK if we are expecting exceptions
1425 # let's find out what they are and be specific.
1426 if self.canceled:
1427 self.canceled = False
1428 if not use_subprocess:
1429 raise KeyboardInterrupt
1430 return count
1431
1432 def rmenu_check_cut(self):
1433 try:

Callers 15

beginMethod · 0.95
idle_showwarningFunction · 0.45
store_file_breaksMethod · 0.45
restart_subprocessMethod · 0.45
writeMethod · 0.45
close_debuggerMethod · 0.45
cancel_callbackMethod · 0.45
showpromptMethod · 0.45
mainFunction · 0.45
SaveMethod · 0.45
displayhookFunction · 0.45
copy_stripFunction · 0.45

Calls 1

mark_gravityMethod · 0.80

Tested by

no test coverage detected