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

Function _add_procs

Tools/c-analyzer/c_common/scriptutil.py:178–187  ·  view source on GitHub ↗
(flattened, procs)

Source from the content-addressed store, hash-verified

176
177
178def _add_procs(flattened, procs):
179 # XXX Fail on non-empty, non-callable procs?
180 if not procs:
181 return
182 if callable(procs):
183 flattened.append(procs)
184 else:
185 #processors.extend(p for p in procs if callable(p))
186 for proc in procs:
187 _add_procs(flattened, proc)
188
189
190def add_verbosity_cli(parser):

Callers 2

apply_cli_argspecsFunction · 0.85
_add_cmd_cliFunction · 0.85

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…