We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90d0cfb commit ad65f15Copy full SHA for ad65f15
Python/symtable.c
@@ -210,8 +210,10 @@ symtable_new(void)
210
struct symtable *st;
211
212
st = (struct symtable *)PyMem_Malloc(sizeof(struct symtable));
213
- if (st == NULL)
+ if (st == NULL) {
214
+ PyErr_NoMemory();
215
return NULL;
216
+ }
217
218
st->st_filename = NULL;
219
st->st_blocks = NULL;
0 commit comments