Skip to content

Commit 2b876f1

Browse files
committed
Fix typo
1 parent 4a6632c commit 2b876f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Python/specialize.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -918,8 +918,8 @@ _Py_Specialize_LoadAttr(PyObject *owner, _Py_CODEUNIT *instr, PyObject *name)
918918
int
919919
_Py_Specialize_StoreAttr(PyObject *owner, _Py_CODEUNIT *instr, PyObject *name)
920920
{
921-
assert(_PyOpcode_InlineCacheEntries[LOAD_ATTR] ==
922-
INLINE_CACHE_ENTRIES_LOAD_ATTR);
921+
assert(_PyOpcode_InlineCacheEntries[STORE_ATTR] ==
922+
INLINE_CACHE_ENTRIES_STORE_ATTR);
923923
_PyAttrCache *cache = (_PyAttrCache *)(instr + 1);
924924
PyTypeObject *type = Py_TYPE(owner);
925925
if (PyModule_CheckExact(owner)) {

0 commit comments

Comments
 (0)