MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / PyShellFileList

Class PyShellFileList

tools/python-3.11.9-amd64/Lib/idlelib/pyshell.py:320–337  ·  view source on GitHub ↗

Extend base class: IDLE supports a shell and breakpoints

Source from the content-addressed store, hash-verified

318
319
320class PyShellFileList(FileList):
321 "Extend base class: IDLE supports a shell and breakpoints"
322
323 # override FileList's class variable, instances return PyShellEditorWindow
324 # instead of EditorWindow when new edit windows are created.
325 EditorWindow = PyShellEditorWindow
326
327 pyshell = None
328
329 def open_shell(self, event=None):
330 if self.pyshell:
331 self.pyshell.top.wakeup()
332 else:
333 self.pyshell = PyShell(self)
334 if self.pyshell:
335 if not self.pyshell.begin():
336 return None
337 return self.pyshell
338
339
340class ModifiedColorDelegator(ColorDelegator):

Callers 5

_grep_dialogFunction · 0.90
_stackbrowserFunction · 0.90
setUpClassMethod · 0.90
__init__Method · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by 1

setUpClassMethod · 0.72