MCPcopy Create free account
hub / github.com/dgrunwald/rust-cpython / is_value

Function is_value

python27-sys/build.rs:158–160  ·  view source on GitHub ↗
(key: &str)

Source from the content-addressed store, hash-verified

156}
157
158fn is_value(key: &str) -> bool {
159 SYSCONFIG_VALUES.iter().any(|x| *x == key)
160}
161
162fn cfg_line_for_var(key: &str, val: &str) -> Option<String> {
163 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