diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-07-16 02:35:47 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-07-16 02:35:47 (GMT) |
commit | ee4cc698ca906c519054a85d119c76e757227e82 (patch) | |
tree | 6af7ef2bb20a9e32e86354878b29e3ef026ac366 /Modules/python.c | |
parent | fc28e0de584e8040bd27080b0111a722243b82c7 (diff) | |
download | cpython-ee4cc698ca906c519054a85d119c76e757227e82.zip cpython-ee4cc698ca906c519054a85d119c76e757227e82.tar.gz cpython-ee4cc698ca906c519054a85d119c76e757227e82.tar.bz2 |
PyFunction_SetDefaults() is documented as taking None or a tuple.
A NULL would crash the PyTuple_Check(). Now make NULL return a SystemError.
Reported by Klocwork #73.
Diffstat (limited to 'Modules/python.c')
0 files changed, 0 insertions, 0 deletions