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

Method clear

Lib/idlelib/config.py:870–877  ·  view source on GitHub ↗

Clear all 4 pages. Called in save_all after saving to idleConf. XXX Mark window *title* when there are changes; unmark here.

(self)

Source from the content-addressed store, hash-verified

868 configpage.Save()
869
870 def clear(self):
871 """Clear all 4 pages.
872
873 Called in save_all after saving to idleConf.
874 XXX Mark window *title* when there are changes; unmark here.
875 """
876 for page in self.pages:
877 page.clear()
878
879
880# TODO Revise test output, write expanded unittest

Callers 15

save_allMethod · 0.95
load_stackMethod · 0.45
resetcacheMethod · 0.45
initMethod · 0.45
test_dict_item_noattrMethod · 0.45
tearDownModuleFunction · 0.45
setUpMethod · 0.45
test_font_setMethod · 0.45
setUpMethod · 0.45
test_theme_sourceMethod · 0.45
test_builtin_nameMethod · 0.45
test_custom_nameMethod · 0.45

Calls

no outgoing calls

Tested by 15

test_dict_item_noattrMethod · 0.36
tearDownModuleFunction · 0.36
setUpMethod · 0.36
test_font_setMethod · 0.36
setUpMethod · 0.36
test_theme_sourceMethod · 0.36
test_builtin_nameMethod · 0.36
test_custom_nameMethod · 0.36
setUpMethod · 0.36
test_keyset_sourceMethod · 0.36
test_builtin_nameMethod · 0.36
test_custom_nameMethod · 0.36