summaryrefslogtreecommitdiff
path: root/Python/bltinmodule.c
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2002-03-08 21:11:37 +0000
committerJeremy Hylton <jeremy@alum.mit.edu>2002-03-08 21:11:37 +0000
commit6ae6a43a77e3170cc952d182b67533b560eb6dbe (patch)
tree2dba62bf2b5dd4e1ce63ff45ca45375469819ffd /Python/bltinmodule.c
parent8acf1e0e01a841183e61e63bf956494a0517ceed (diff)
downloadcpython-git-6ae6a43a77e3170cc952d182b67533b560eb6dbe.tar.gz
Fix for SF bug 516727: MyInt(2) + "3" -> NotImplemented
PyNumber_Add() tries the nb_add slot first, then falls back to sq_concat. However, tt didn't check the return value of sq_concat. If sq_concat returns NotImplemented, raise the standard TypeError.
Diffstat (limited to 'Python/bltinmodule.c')
0 files changed, 0 insertions, 0 deletions