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

Method output_templates

Tools/clinic/libclinic/clanguage.py:242–248  ·  view source on GitHub ↗
(
        self,
        f: Function,
        codegen: CodeGen,
    )

Source from the content-addressed store, hash-verified

240 return libclinic.normalize_snippet(code, indent=4)
241
242 def output_templates(
243 self,
244 f: Function,
245 codegen: CodeGen,
246 ) -> dict[str, str]:
247 args = ParseArgsCodeGen(f, codegen)
248 return args.parse_args(self)
249
250 @staticmethod
251 def group_to_variable_name(group: int) -> str:

Callers 1

render_functionMethod · 0.95

Calls 2

parse_argsMethod · 0.95
ParseArgsCodeGenClass · 0.90

Tested by

no test coverage detected