From: Mark Shannon Date: Mon, 14 Jun 2021 12:38:16 +0000 (+0100) Subject: Remove accidentally duplicated STAT_INC (GH-26718) X-Git-Tag: v3.11.0a1~862 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=358aa6197c2198607b868e6de8aa777323a2d8f9;p=thirdparty%2FPython%2Fcpython.git Remove accidentally duplicated STAT_INC (GH-26718) --- diff --git a/Python/ceval.c b/Python/ceval.c index 25d077cb26a2..79ec143f5ea3 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -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);