mirror of
https://github.com/python/cpython.git
synced 2025-08-01 07:33:08 +00:00
Tkinter rename reversal: remove tkinter package, adapt imports and docs.
This commit is contained in:
parent
33cece05b9
commit
6634bf2919
74 changed files with 227 additions and 7971 deletions
|
@ -127,9 +127,9 @@ def manage_socket(address):
|
|||
server.handle_request() # A single request only
|
||||
|
||||
def show_socket_error(err, address):
|
||||
import tkinter
|
||||
import tkinter.messagebox as tkMessageBox
|
||||
root = tkinter.Tk()
|
||||
import Tkinter
|
||||
import tkMessageBox
|
||||
root = Tkinter.Tk()
|
||||
root.withdraw()
|
||||
if err[0] == 61: # connection refused
|
||||
msg = "IDLE's subprocess can't connect to %s:%d. This may be due "\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue