Remove redundant assignment in _PyObject_LengthHint
This commit is contained in:
parent
0194f5bc98
commit
b91d2f5bd3
|
@ -123,7 +123,7 @@ _PyObject_LengthHint(PyObject *o, Py_ssize_t defaultvalue)
|
|||
PyErr_Clear();
|
||||
return defaultvalue;
|
||||
}
|
||||
rv = rv = PyLong_Check(ro) ? PyLong_AsSsize_t(ro) : defaultvalue;
|
||||
rv = PyLong_Check(ro) ? PyLong_AsSsize_t(ro) : defaultvalue;
|
||||
Py_DECREF(ro);
|
||||
return rv;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue