parameters: (err, address)
docstring: Display socket error from manage_socket.
docstring_summary: Display socket error from manage_socket.
docstring_tokens: Display socket error from manage_socket .
function: def show_socket_error(err, address):
      "Display socket error from manage_socket."
      import tkinter
      from tkinter.messagebox import showerror
      root = tkinter.Tk()
      fix_scaling(root)
      root.withdraw()
      showerror(
              "Subprocess Connection Error",
              f"IDLE's subprocess can't connect to {address[0]}:{address[1]}.\n"
              f"Fatal OSError #{err.errno}: {err.strerror}.\n"
              "See the 'Startup failure' section of the IDLE doc, online at\n"
              "https://docs.python.org/3/library/idle.html#startup-failure",
              parent=root)
      root.destroy()
function_tokens: def show_socket_error ( err , address ) : import tkinter from tkinter . messagebox import showerror root = tkinter . Tk ( ) fix_scaling ( root ) root . withdraw ( ) showerror ( "Subprocess Connection Error" , f"IDLE's subprocess can't connect to {address[0]}:{address[1]}.\n" f"Fatal OSError #{err.errno}: {err.strerror}.\n" "See the 'Startup failure' section of the IDLE doc, online at\n" "https://docs.python.org/3/library/idle.html#startup-failure" , parent = root ) root . destroy ( )