diff options
Diffstat (limited to 'Parser/tokenizer.c')
-rw-r--r-- | Parser/tokenizer.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Parser/tokenizer.c b/Parser/tokenizer.c index a040696..18815ae 100644 --- a/Parser/tokenizer.c +++ b/Parser/tokenizer.c @@ -1612,8 +1612,6 @@ PyTokenizer_FindEncoding(int fd) encoding = (char *)PyMem_MALLOC(strlen(tok->encoding) + 1); if (encoding) strcpy(encoding, tok->encoding); - else - PyErr_NoMemory(); } PyTokenizer_Free(tok); return encoding; |