summaryrefslogtreecommitdiff
path: root/Python/mysnprintf.c
diff options
context:
space:
mode:
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>2008-09-04 22:53:19 +0000
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>2008-09-04 22:53:19 +0000
commit9252287f2c9bc09fdc6bc729e13ac63935e4976e (patch)
tree2593a9d4c32eff456f2229fcd5344e0ca85e6746 /Python/mysnprintf.c
parent1b933ed50aef2c31e003a001cef8647244ebfa0e (diff)
downloadcpython-git-9252287f2c9bc09fdc6bc729e13ac63935e4976e.tar.gz
Follow-up of #3773: In PyTokenizer_FindEncoding, remove the call to PyErr_NoMemory when PyMem_MALLOC() fails.
It is not stritly necessary, the function may already return NULL without an exception set, for example when the file cannot be opened. Discussed with Benjamin Peterson.
Diffstat (limited to 'Python/mysnprintf.c')
0 files changed, 0 insertions, 0 deletions