Skip to content

Commit

Permalink
pythongh-113317: Add ParseArgsCodeGen class (python#117707)
Browse files Browse the repository at this point in the history
  • Loading branch information
vstinner authored Apr 11, 2024
1 parent a2ae847 commit 671cb22
Show file tree
Hide file tree
Showing 4 changed files with 953 additions and 846 deletions.
4 changes: 2 additions & 2 deletions Tools/clinic/libclinic/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from libclinic import fail, warn
from libclinic.function import Class
from libclinic.block_parser import Block, BlockParser
from libclinic.codegen import BlockPrinter, Destination, Codegen
from libclinic.codegen import BlockPrinter, Destination, CodeGen
from libclinic.parser import Parser, PythonParser
from libclinic.dsl_parser import DSLParser
if TYPE_CHECKING:
Expand Down Expand Up @@ -101,7 +101,7 @@ def __init__(
self.modules: ModuleDict = {}
self.classes: ClassDict = {}
self.functions: list[Function] = []
self.codegen = Codegen(self.limited_capi)
self.codegen = CodeGen(self.limited_capi)

self.line_prefix = self.line_suffix = ''

Expand Down
Loading

0 comments on commit 671cb22

Please sign in to comment.