summaryrefslogtreecommitdiffstats
path: root/Python/ceval.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/ceval.c')
-rw-r--r--Python/ceval.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index c83743d..d69b8d6 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -3236,7 +3236,7 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throwflag)
Py_INCREF(self);
func = PyMethod_GET_FUNCTION(func);
Py_INCREF(func);
- Py_XSETREF(*pfunc, self);
+ Py_SETREF(*pfunc, self);
na++;
/* n++; */
} else
@@ -4747,7 +4747,7 @@ call_function(PyObject ***pp_stack, int oparg
Py_INCREF(self);
func = PyMethod_GET_FUNCTION(func);
Py_INCREF(func);
- Py_XSETREF(*pfunc, self);
+ Py_SETREF(*pfunc, self);
na++;
n++;
} else