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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user