mirror of
https://github.com/python/cpython.git
synced 2025-09-19 07:00:59 +00:00
GH-111485: Test the new cases generator (GH-113252)
This commit is contained in:
parent
4a24bf9a13
commit
771903596b
8 changed files with 116 additions and 88 deletions
|
@ -148,7 +148,7 @@ class Stack:
|
|||
cast = "(PyObject *)" if var.type else ""
|
||||
if var.name != "unused" and not var.is_array():
|
||||
if var.condition:
|
||||
out.emit(f" if ({var.condition}) ")
|
||||
out.emit(f"if ({var.condition}) ")
|
||||
out.emit(
|
||||
f"stack_pointer[{self.base_offset.to_c()}] = {cast}{var.name};\n"
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue