Skip to content

Commit 5d15490

Browse files
Update emitmodule.py
1 parent 691c64e commit 5d15490

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

mypyc/codegen/emitmodule.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -934,8 +934,6 @@ def generate_globals_init(self, emitter: Emitter) -> None:
934934
f"if (CPyStatics_Initialize(CPyStatics, {values}) < 0) {{", "return -1;", "}"
935935
)
936936

937-
# (No per-dict static assignments needed; dict statics are handled by Literals)
938-
939937
emitter.emit_lines("is_initialized = 1;", "return 0;", "}")
940938

941939
def generate_module_def(self, emitter: Emitter, module_name: str, module: ModuleIR) -> None:

0 commit comments

Comments
 (0)