mirror of https://github.com/python/cpython
merge 3.2
This commit is contained in:
commit
3a37b8393c
|
@ -163,10 +163,8 @@ builtin___build_class__(PyObject *self, PyObject *args, PyObject *kwds)
|
|||
cls = PyEval_CallObjectWithKeywords(meta, margs, mkw);
|
||||
Py_DECREF(margs);
|
||||
}
|
||||
if (cls != NULL && PyCell_Check(cell)) {
|
||||
Py_INCREF(cls);
|
||||
PyCell_SET(cell, cls);
|
||||
}
|
||||
if (cls != NULL && PyCell_Check(cell))
|
||||
PyCell_Set(cell, cls);
|
||||
Py_DECREF(cell);
|
||||
}
|
||||
Py_DECREF(ns);
|
||||
|
|
Loading…
Reference in New Issue