MCPcopy Index your code
hub / github.com/dgrunwald/rust-cpython / is_value

Function is_value

python3-sys/build.rs:155–157  ·  view source on GitHub ↗
(key: &str)

Source from the content-addressed store, hash-verified

153}
154
155fn is_value(key: &str) -> bool {
156 SYSCONFIG_VALUES.iter().any(|x| *x == key)
157}
158
159fn cfg_line_for_var(key: &str, val: &str) -> Option<String> {
160 if is_value(key) {

Callers 3

get_config_varsFunction · 0.70
cfg_line_for_varFunction · 0.70
mainFunction · 0.70

Calls 1

iterMethod · 0.45

Tested by

no test coverage detected