diff options
Diffstat (limited to 'Lib/idlelib/run.py')
| -rw-r--r-- | Lib/idlelib/run.py | 6 | 
1 files changed, 6 insertions, 0 deletions
diff --git a/Lib/idlelib/run.py b/Lib/idlelib/run.py index 8adb6f1..ae810c4 100644 --- a/Lib/idlelib/run.py +++ b/Lib/idlelib/run.py @@ -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  | 
