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

Method reload

Lib/idlelib/codecontext.py:78–82  ·  view source on GitHub ↗

Load class variables from config.

(cls)

Source from the content-addressed store, hash-verified

76
77 @classmethod
78 def reload(cls):
79 "Load class variables from config."
80 cls.context_depth = idleConf.GetOption("extensions", "CodeContext",
81 "maxlines", type="int",
82 default=15)
83
84 def __del__(self):
85 "Cancel scheduled events."

Callers 1

codecontext.pyFile · 0.45

Calls 1

GetOptionMethod · 0.80

Tested by

no test coverage detected