MCPcopy Create free account
hub / github.com/enthought/comtypes / get

Function get

comtypes/logutil.py:59–63  ·  view source on GitHub ↗
(section, option)

Source from the content-addressed store, hash-verified

57 }
58
59 def get(section, option):
60 try:
61 return parser.get(section, option, True)
62 except (configparser.NoOptionError, configparser.NoSectionError):
63 return DEFAULTS[option]
64
65 levelname = get("logging", "level")
66 format = get("logging", "format")

Callers 1

setup_loggingFunction · 0.85

Calls 1

getMethod · 0.80

Tested by

no test coverage detected