diff options
author | Gabriele N. Tornetta <P403n1x87@users.noreply.github.com> | 2021-07-07 11:21:51 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-07 11:21:51 (GMT) |
commit | 2f180ce2cb6e6a7e3c517495e0f4873d6aaf5f2f (patch) | |
tree | 446776f951c764ef32fbe91e80c7928be0fe54b4 /Python/ceval.c | |
parent | 32096df0e00e692ee6dc688e62213bff0dffd573 (diff) | |
download | cpython-2f180ce2cb6e6a7e3c517495e0f4873d6aaf5f2f.zip cpython-2f180ce2cb6e6a7e3c517495e0f4873d6aaf5f2f.tar.gz cpython-2f180ce2cb6e6a7e3c517495e0f4873d6aaf5f2f.tar.bz2 |
bpo-44530: Add co_qualname field to PyCodeObject (GH-26941)
Diffstat (limited to 'Python/ceval.c')
-rw-r--r-- | Python/ceval.c | 4 |
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; } |