MCPcopy
hub / github.com/rocky/python-uncompyle6 / str_with_template

Method str_with_template

uncompyle6/semantics/pysource.py:353–356  ·  view source on GitHub ↗
(self, ast)

Source from the content-addressed store, hash-verified

351 maybe_show_tree(self, tree)
352
353 def str_with_template(self, ast):
354 stream = sys.stdout
355 stream.write(self.str_with_template1(ast, "", None))
356 stream.write("\n")
357
358 def str_with_template1(self, ast, indent, sibNum=None) -> str:
359 rv = str(ast.kind)

Callers 1

maybe_show_treeFunction · 0.80

Calls 2

str_with_template1Method · 0.95
writeMethod · 0.45

Tested by

no test coverage detected