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

Method __init__

Lib/idlelib/config.py:156–167  ·  view source on GitHub ↗
(self, _utest=False)

Source from the content-addressed store, hash-verified

154 (user home dir)/.idlerc/config-{config-type}.cfg
155 """
156 def __init__(self, _utest=False):
157 self.config_types = ('main', 'highlight', 'keys', 'extensions')
158 self.defaultCfg = {}
159 self.userCfg = {}
160 self.cfg = {} # TODO use to select userCfg vs defaultCfg
161
162 # See https://bugs.python.org/issue4630#msg356516 for following.
163 # self.blink_off_time = <first editor text>['insertofftime']
164
165 if not _utest:
166 self.CreateConfigHandlers()
167 self.LoadCfgFiles()
168
169 def CreateConfigHandlers(self):
170 "Populate default and user config parser dictionaries."

Callers 1

__init__Method · 0.45

Calls 2

CreateConfigHandlersMethod · 0.95
LoadCfgFilesMethod · 0.95

Tested by

no test coverage detected