Skip to content

Commit 71122ee

Browse files
committed
Address review
1 parent 4aedca9 commit 71122ee

5 files changed

Lines changed: 6 additions & 12 deletions

File tree

.jit-stamp

Whitespace-only changes.

Modules/_testinternalcapi/test_cases.c.h

Lines changed: 2 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Python/bytecodes.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2971,8 +2971,7 @@ dummy_func(
29712971
op(_LOAD_ATTR_CLASS, (descr/4, owner -- attr)) {
29722972
PyTypeObject *descr_type = Py_TYPE(descr);
29732973
PyObject *owner_o = PyStackRef_AsPyObjectBorrow(owner);
2974-
EXIT_IF((descr_type->tp_flags & Py_TPFLAGS_IMMUTABLETYPE) == 0
2975-
&& descr_type != (PyTypeObject *)owner_o);
2974+
EXIT_IF(descr_type != (PyTypeObject *)owner_o);
29762975

29772976
STAT_INC(LOAD_ATTR, hit);
29782977
assert(descr != NULL);

Python/executor_cases.c.h

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Python/generated_cases.c.h

Lines changed: 2 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)