]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Remove accidentally duplicated STAT_INC (GH-26718)
authorMark Shannon <mark@hotpy.org>
Mon, 14 Jun 2021 12:38:16 +0000 (13:38 +0100)
committerGitHub <noreply@github.com>
Mon, 14 Jun 2021 12:38:16 +0000 (13:38 +0100)
Python/ceval.c

index 25d077cb26a235a56ebc168a0e041d4ff4da38df..79ec143f5ea327ab286a8095422d2af460bf0d7a 100644 (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);