diff options
author | Eric Jones <eric@enthought.com> | 2002-01-14 06:35:59 +0000 |
---|---|---|
committer | Eric Jones <eric@enthought.com> | 2002-01-14 06:35:59 +0000 |
commit | 3d616a2b426aaaf63b43b95e1fce05ba6bfc984d (patch) | |
tree | fb645ea040553a3377154e7eef1757a8854b8093 /weave/conversion_code.py | |
parent | e6c3b438b2e9897b9f23d1784f15f898525d6617 (diff) | |
download | numpy-3d616a2b426aaaf63b43b95e1fce05ba6bfc984d.tar.gz |
* conversion_to_int and py_to_int now both throw TypeError, but conversion_to_in
t prefixes the msg with "Conversion Error:" so that conversion errors can be dif
ferentiated from errors thrown in the user's code.
Diffstat (limited to 'weave/conversion_code.py')
-rwxr-xr-x | weave/conversion_code.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weave/conversion_code.py b/weave/conversion_code.py index 91e0d2353..cbd69f3cb 100755 --- a/weave/conversion_code.py +++ b/weave/conversion_code.py @@ -75,7 +75,7 @@ file_convert_code = \ FILE* convert_to_file(PyObject* py_obj, char* name) { if (!py_obj || !PyFile_Check(py_obj)) - handle_conversion_error_type(py_obj,"file", name); + handle_conversion_error(py_obj,"file", name); // Cleanup code should call DECREF Py_INCREF(py_obj); |