MCPcopy Index your code
hub / github.com/python/cpython / reset_shell

Method reset_shell

Lib/idlelib/idle_test/test_sidebar.py:434–437  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

432
433 @classmethod
434 def reset_shell(cls):
435 cls.shell.per.bottom.delete(f'{cls.n_preface_lines+1}.0', 'end-1c')
436 cls.shell.shell_sidebar.update_sidebar()
437 cls.root.update()
438
439 def setUp(self):
440 # In some test environments, e.g. Azure Pipelines (as of

Callers 1

setUpMethod · 0.95

Calls 3

update_sidebarMethod · 0.80
deleteMethod · 0.45
updateMethod · 0.45

Tested by

no test coverage detected