MCPcopy Index your code
hub / github.com/SLiCAP/SLiCAP_python / _c

Function _c

SLiCAP/schematic/config.py:52–56  ·  view source on GitHub ↗
(section: str, key: str, default: str)

Source from the content-addressed store, hash-verified

50
51
52def _c(section: str, key: str, default: str) -> QColor:
53 try:
54 return QColor(_cfg[section][key])
55 except KeyError:
56 return QColor(default)
57
58
59def _f(section: str, key: str, default: float) -> float:

Callers 2

config.pyFile · 0.85
_applyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected