diff options
Diffstat (limited to 'Tools/idle/ScriptBinding.py')
-rw-r--r-- | Tools/idle/ScriptBinding.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Tools/idle/ScriptBinding.py b/Tools/idle/ScriptBinding.py index 4071681..19a20b2 100644 --- a/Tools/idle/ScriptBinding.py +++ b/Tools/idle/ScriptBinding.py @@ -51,6 +51,9 @@ class ScriptBinding: ] def __init__(self, editwin): + if not editwin.runnable: + self.menudefs = [] + self.keydefs = {} self.editwin = editwin # Provide instance variables referenced by Debugger # XXX This should be done differently |