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

Function unparse

Lib/ast.py:631–638  ·  view source on GitHub ↗
(ast_obj)

Source from the content-addressed store, hash-verified

629
630
631def unparse(ast_obj):
632 global _Unparser
633 try:
634 unparser = _Unparser()
635 except NameError:
636 from _ast_unparse import Unparser as _Unparser
637 unparser = _Unparser()
638 return unparser.visit(ast_obj)
639
640
641def main(args=None):

Callers

nothing calls this directly

Calls 1

visitMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…