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

Method clear

tools/python-3.11.9-amd64/Lib/idlelib/config.py:869–876  ·  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

867 configpage.Save()
868
869 def clear(self):
870 """Clear all 4 pages.
871
872 Called in save_all after saving to idleConf.
873 XXX Mark window *title* when there are changes; unmark here.
874 """
875 for page in self.pages:
876 page.clear()
877
878
879# 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