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

Function ns_get

PC/layout/support/options.py:146–147  ·  view source on GitHub ↗
(ns, key, default=False)

Source from the content-addressed store, hash-verified

144
145
146def ns_get(ns, key, default=False):
147 return getattr(ns, key.replace("-", "_"), default)
148
149
150def ns_set(ns, key, value=True):

Callers 1

update_presetsFunction · 0.85

Calls 1

replaceMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…