2
0
mirror of https://github.com/boostorg/python.git synced 2026-02-02 09:02:15 +00:00

Remove incref of Py_None in make_nurse_and_patient - inc already done in detail::none()

[SVN r20079]
This commit is contained in:
Raoul Gough
2003-09-16 17:31:06 +00:00
parent 454654a9cc
commit db192e1e01

View File

@@ -82,7 +82,7 @@ PyTypeObject life_support_type = {
PyObject* make_nurse_and_patient(PyObject* nurse, PyObject* patient)
{
if (nurse == Py_None)
return incref(nurse);
return nurse;
if (life_support_type.ob_type == 0)
{