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

Method load

Lib/idlelib/idle_test/test_config.py:704–709  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

702 empty = {'main':{}, 'highlight':{}, 'keys':{}, 'extensions':{}}
703
704 def load(self): # Test_add_option verifies that this works.
705 changes = self.changes
706 changes.add_option('main', 'Msec', 'mitem', 'mval')
707 changes.add_option('highlight', 'Hsec', 'hitem', 'hval')
708 changes.add_option('keys', 'Ksec', 'kitem', 'kval')
709 return changes
710
711 loaded = {'main': {'Msec': {'mitem': 'mval'}},
712 'highlight': {'Hsec': {'hitem': 'hval'}},

Callers 5

test_add_optionMethod · 0.95
test_save_addedMethod · 0.95
test_delete_sectionMethod · 0.95
test_clearMethod · 0.95
readSystemPreferencesFunction · 0.45

Calls 1

add_optionMethod · 0.45

Tested by

no test coverage detected