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, 1 insertions, 3 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index 2ae36b3..194572a 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -4161,13 +4161,11 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, PyFrameObject *f, int throwflag)
}
case TARGET(MAKE_FUNCTION): {
- PyObject *qualname = POP();
PyObject *codeobj = POP();
PyFunctionObject *func = (PyFunctionObject *)
- PyFunction_NewWithQualName(codeobj, GLOBALS(), qualname);
+ PyFunction_New(codeobj, GLOBALS());
Py_DECREF(codeobj);
- Py_DECREF(qualname);
if (func == NULL) {
goto error;
}