mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
Merge IDLE-syntax-branch r39668:41449 into trunk
A idlelib/AutoCompleteWindow.py A idlelib/AutoComplete.py A idlelib/HyperParser.py M idlelib/PyShell.py M idlelib/ParenMatch.py M idlelib/configDialog.py M idlelib/EditorWindow.py M idlelib/PyParse.py M idlelib/CallTips.py M idlelib/CallTipWindow.py M idlelib/run.py M idlelib/config-extensions.def A idlelib/MultiCall.py
This commit is contained in:
parent
c85c74cd08
commit
b17544551f
13 changed files with 1593 additions and 202 deletions
|
@ -9,6 +9,8 @@ import threading
|
|||
import Queue
|
||||
|
||||
import CallTips
|
||||
import AutoComplete
|
||||
|
||||
import RemoteDebugger
|
||||
import RemoteObjectBrowser
|
||||
import StackViewer
|
||||
|
@ -275,6 +277,7 @@ class Executive(object):
|
|||
self.rpchandler = rpchandler
|
||||
self.locals = __main__.__dict__
|
||||
self.calltip = CallTips.CallTips()
|
||||
self.autocomplete = AutoComplete.AutoComplete()
|
||||
|
||||
def runcode(self, code):
|
||||
try:
|
||||
|
@ -305,6 +308,9 @@ class Executive(object):
|
|||
def get_the_calltip(self, name):
|
||||
return self.calltip.fetch_tip(name)
|
||||
|
||||
def get_the_completion_list(self, what, mode):
|
||||
return self.autocomplete.fetch_completions(what, mode)
|
||||
|
||||
def stackviewer(self, flist_oid=None):
|
||||
if self.usr_exc_info:
|
||||
typ, val, tb = self.usr_exc_info
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue