Skip to content

Commit 1870885

Browse files
committed
Fix compiler warning
1 parent 07b7c20 commit 1870885

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
@@ -1595,8 +1595,8 @@ specialize_attr_loadclassattr(PyObject *owner, _Py_CODEUNIT *instr,
15951595
unsigned long tp_flags = PyType_GetFlags(owner_cls);
15961596
if (tp_flags & Py_TPFLAGS_INLINE_VALUES) {
15971597
#ifndef Py_GIL_DISABLED
1598-
PyDictKeysObject *keys = ((PyHeapTypeObject *)owner_cls)->ht_cached_keys;
1599-
assert(_PyDictKeys_StringLookup(keys, name) < 0);
1598+
assert(_PyDictKeys_StringLookup(
1599+
((PyHeapTypeObject *)owner_cls)->ht_cached_keys, name) < 0);
16001600
#endif
16011601
if (shared_keys_version == 0) {
16021602
SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_OUT_OF_VERSIONS);

0 commit comments

Comments
 (0)