gh-142664: fix `PyObject_Hash` invokation post GH-143217 (#143223)

1 file changed