diff options
author | Eric Smith <eric@trueblade.com> | 2008-02-15 12:14:32 +0000 |
---|---|---|
committer | Eric Smith <eric@trueblade.com> | 2008-02-15 12:14:32 +0000 |
commit | 3f91437e5fa9d48522a3b9c5c7eb9f8b4ff75efb (patch) | |
tree | d9bf76b87e281a44ef21e512a57cef100cf987f0 /Python/errors.c | |
parent | 7adfad850a50722464775d57b5d16b850ecab56a (diff) | |
download | cpython-git-3f91437e5fa9d48522a3b9c5c7eb9f8b4ff75efb.tar.gz |
In PyNumber_ToBase, changed from an assert to returning an error when PyObject_Index() returns something other than an int or long. It should never be possible to trigger this, as PyObject_Index checks to make sure it returns an int or long.
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions