Commit 4011a249 authored by Guido van Rossum's avatar Guido van Rossum

Fix non-C89-compatible syntax.

parent e171965e
......@@ -4420,7 +4420,7 @@ slot_tp_str(PyObject *self)
static long
slot_tp_hash(PyObject *self)
{
PyObject *func;
PyObject *func, *res;
static PyObject *hash_str;
long h;
......@@ -4438,7 +4438,7 @@ slot_tp_hash(PyObject *self)
return -1;
}
PyObject *res = PyEval_CallObject(func, NULL);
res = PyEval_CallObject(func, NULL);
Py_DECREF(func);
if (res == NULL)
return -1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment