Kaydet (Commit) 3a37b839 authored tarafından Benjamin Peterson's avatar Benjamin Peterson

merge 3.2

...@@ -163,10 +163,8 @@ builtin___build_class__(PyObject *self, PyObject *args, PyObject *kwds) ...@@ -163,10 +163,8 @@ builtin___build_class__(PyObject *self, PyObject *args, PyObject *kwds)
cls = PyEval_CallObjectWithKeywords(meta, margs, mkw); cls = PyEval_CallObjectWithKeywords(meta, margs, mkw);
Py_DECREF(margs); Py_DECREF(margs);
} }
if (cls != NULL && PyCell_Check(cell)) { if (cls != NULL && PyCell_Check(cell))
Py_INCREF(cls); PyCell_Set(cell, cls);
PyCell_SET(cell, cls);
}
Py_DECREF(cell); Py_DECREF(cell);
} }
Py_DECREF(ns); Py_DECREF(ns);
......
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