mirror of
https://github.com/python/cpython.git
synced 2025-08-24 10:45:53 +00:00
bpo-33907: Rename an IDLE module and class. (GH-7807)
Improve consistency and appearance. Module idlelib.calltips is now calltip. Class idlelib.calltip_w.CallTip is now Calltip.
This commit is contained in:
parent
4d92158f4c
commit
06e2029dfa
7 changed files with 35 additions and 32 deletions
|
@ -11,7 +11,7 @@ import warnings
|
|||
import tkinter # Tcl, deletions, messagebox if startup fails
|
||||
|
||||
from idlelib import autocomplete # AutoComplete, fetch_encodings
|
||||
from idlelib import calltips # CallTips
|
||||
from idlelib import calltip # Calltip
|
||||
from idlelib import debugger_r # start_debugger
|
||||
from idlelib import debugobj_r # remote_object_tree_item
|
||||
from idlelib import iomenu # encoding
|
||||
|
@ -462,7 +462,7 @@ class Executive(object):
|
|||
def __init__(self, rpchandler):
|
||||
self.rpchandler = rpchandler
|
||||
self.locals = __main__.__dict__
|
||||
self.calltip = calltips.CallTips()
|
||||
self.calltip = calltip.Calltip()
|
||||
self.autocomplete = autocomplete.AutoComplete()
|
||||
|
||||
def runcode(self, code):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue