[Python-checkins] r46318 - python/branches/sreifschneider-newnewexcept/Objects/exceptions.c
richard.jones
python-checkins at python.org
Fri May 26 15:09:36 CEST 2006
Author: richard.jones
Date: Fri May 26 15:09:36 2006
New Revision: 46318
Modified:
python/branches/sreifschneider-newnewexcept/Objects/exceptions.c
Log:
fix __unicode__ args
Modified: python/branches/sreifschneider-newnewexcept/Objects/exceptions.c
==============================================================================
--- python/branches/sreifschneider-newnewexcept/Objects/exceptions.c (original)
+++ python/branches/sreifschneider-newnewexcept/Objects/exceptions.c Fri May 26 15:09:36 2006
@@ -187,7 +187,7 @@
static PyMethodDef BaseException_methods[] = {
#ifdef Py_USING_UNICODE
- {"__unicode__", (PyCFunction)BaseException_unicode, METH_O },
+ {"__unicode__", (PyCFunction)BaseException_unicode, METH_NOARGS },
#endif
{NULL, NULL, 0, NULL},
};
More information about the Python-checkins
mailing list