MCPcopy
hub / github.com/psf/black / stringify_ast

Function stringify_ast

src/black/parsing.py:175–177  ·  view source on GitHub ↗

Simple visitor generating strings to compare ASTs by content.

(node: ast.AST)

Source from the content-addressed store, hash-verified

173
174
175def stringify_ast(node: ast.AST) -> Iterator[str]:
176 """Simple visitor generating strings to compare ASTs by content."""
177 return _stringify_ast(node, [])
178
179
180def _stringify_ast_with_new_parent(

Callers 1

assert_equivalentFunction · 0.90

Calls 1

_stringify_astFunction · 0.85

Tested by

no test coverage detected