Skip to content

Commit 33dc119

Browse files
Update Parser/tokenizer/file_tokenizer.c
Co-authored-by: AN Long <aisk@users.noreply.github.com>
1 parent 462c47c commit 33dc119

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Parser/tokenizer/file_tokenizer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ _PyTokenizer_FromFile(FILE *fp, const char* enc,
378378
return NULL;
379379
if ((tok->buf = (char *)PyMem_Malloc(BUFSIZ)) == NULL) {
380380
_PyTokenizer_Free(tok);
381-
PyErr_NoMemory();
381+
PyErr_NoMemory();
382382
return NULL;
383383
}
384384
tok->cur = tok->inp = tok->buf;

0 commit comments

Comments
 (0)