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

Method __init__

Lib/idlelib/config.py:801–806  ·  view source on GitHub ↗

Create a page for each configuration file

(self)

Source from the content-addressed store, hash-verified

799 clear: Clear all changes by clearing each page.
800 """
801 def __init__(self):
802 "Create a page for each configuration file"
803 self.pages = [] # List of unhashable dicts.
804 for config_type in idleConf.config_types:
805 self[config_type] = {}
806 self.pages.append(self[config_type])
807
808 def add_option(self, config_type, section, item, value):
809 "Add item/value pair for config_type and section."

Callers

nothing calls this directly

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected