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

Method init_shell

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

Source from the content-addressed store, hash-verified

425
426 @classmethod
427 def init_shell(cls):
428 cls.shell = cls.flist.open_shell()
429 cls.shell.pollinterval = 10
430 cls.root.update()
431 cls.n_preface_lines = get_lineno(cls.shell.text, 'end-1c') - 1
432
433 @classmethod
434 def reset_shell(cls):

Callers 1

setUpClassMethod · 0.80

Calls 3

get_linenoFunction · 0.90
open_shellMethod · 0.80
updateMethod · 0.45

Tested by

no test coverage detected