Skip to content

Commit ebaaeca

Browse files
committed
Fix PyCode_NewEmpty()
1 parent 4fba934 commit ebaaeca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Objects/codeobject.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -560,6 +560,7 @@ PyCode_NewEmpty(const char *filename, const char *funcname, int firstlineno)
560560
.consts = nulltuple,
561561
.names = nulltuple,
562562
.localsplusnames = nulltuple,
563+
.localspluskinds = emptystring,
563564
.exceptiontable = emptystring,
564565
};
565566
result = _PyCode_New(&con);

0 commit comments

Comments
 (0)