Skip to content

Commit 28ddf12

Browse files
fix a deopt
1 parent 20b3352 commit 28ddf12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/ceval.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -3556,7 +3556,7 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, _PyInterpreterFrame *frame, int
35563556
assert(cache->index < dict->ma_keys->dk_nentries);
35573557
PyDictUnicodeEntry* ep = DK_UNICODE_ENTRIES(dict->ma_keys) + cache->index;
35583558
res = ep->me_value;
3559-
DEOPT_IF(res == NULL, LOAD_##attr_or_method);
3559+
DEOPT_IF(res == NULL, LOAD_ATTR);
35603560
STAT_INC(LOAD_ATTR, hit);
35613561
Py_INCREF(res);
35623562
SET_TOP(NULL);

0 commit comments

Comments
 (0)