Remove accidentally duplicated STAT_INC (GH-26718)

This commit is contained in:
Mark Shannon 2021-06-14 13:38:16 +01:00 committed by GitHub
parent eecbc7c390
commit 358aa6197c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3337,7 +3337,6 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, PyFrameObject *f, int throwflag)
DEOPT_IF(res == NULL, LOAD_ATTR);
STAT_INC(LOAD_ATTR, hit);
record_cache_hit(cache0);
STAT_INC(LOAD_ATTR, hit);
Py_INCREF(res);
SET_TOP(res);
Py_DECREF(owner);