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

Method reload

Lib/idlelib/parenmatch.py:52–60  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

50
51 @classmethod
52 def reload(cls):
53 cls.STYLE = idleConf.GetOption(
54 'extensions','ParenMatch','style', default='opener')
55 cls.FLASH_DELAY = idleConf.GetOption(
56 'extensions','ParenMatch','flash-delay', type='int',default=500)
57 cls.BELL = idleConf.GetOption(
58 'extensions','ParenMatch','bell', type='bool', default=1)
59 cls.HILITE_CONFIG = idleConf.GetHighlight(idleConf.CurrentTheme(),
60 'hilite')
61
62 def activate_restore(self):
63 "Activate mechanism to restore text from highlighting."

Callers 1

parenmatch.pyFile · 0.45

Calls 3

GetOptionMethod · 0.80
GetHighlightMethod · 0.80
CurrentThemeMethod · 0.80

Tested by

no test coverage detected