Enable AST-to-source code generation (#292)

This commit is contained in:
Charlie Marsh 2022-10-04 16:27:57 -04:00 committed by GitHub
parent d1bcc919a2
commit 44897b2a5b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 1394 additions and 146 deletions

37
output.py Normal file
View file

@ -0,0 +1,37 @@
from collections import Counter
def f() -> None:
"""Docstring goes here."""
for x in range(5):
print(x)
else:
print("Nope!")
a = {
"a",
"b",
"c",
"a",
"b",
"c",
"a",
"b",
"c",
"a",
"b",
"c",
"a",
"b",
"c",
"a",
"b",
"c",
"a",
"b",
"c",
}
cls(title=title, before_text=before_text, after_text=after_text, before_description=before_description, after_description=after_description, transform_type=transform_type)