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

Method display_port_binding_error

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

Source from the content-addressed store, hash-verified

810 return self.tkconsole.stderr.write(s)
811
812 def display_port_binding_error(self):
813 messagebox.showerror(
814 "Port Binding Error",
815 "IDLE can't bind to a TCP/IP port, which is necessary to "
816 "communicate with its Python execution server. This might be "
817 "because no networking is installed on this computer. "
818 "Run IDLE with the -n command line switch to start without a "
819 "subprocess and refer to Help/IDLE Help 'Running without a "
820 "subprocess' for further details.",
821 parent=self.tkconsole.text)
822
823 def display_no_subprocess_error(self):
824 messagebox.showerror(

Callers 1

start_subprocessMethod · 0.95

Calls 1

showerrorMethod · 0.45

Tested by

no test coverage detected