mirror of
https://github.com/python/cpython.git
synced 2025-07-30 22:54:16 +00:00
Patch 543222. Disable script bindings in shell window.
This commit is contained in:
parent
f79f2f94d5
commit
7f7d5bf438
3 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue