Skip to content

Commit 6af5940

Browse files
Apply suggestions from code review
Co-authored-by: Ken Jin <kenjin4096@gmail.com>
1 parent 83fd02c commit 6af5940

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/optimizer_bytecodes.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1048,7 +1048,7 @@ dummy_func(void) {
10481048
PyHeapTypeObject *cls = (PyHeapTypeObject *)type;
10491049
PyObject *init = FT_ATOMIC_LOAD_PTR_ACQUIRE(cls->_spec_cache.init);
10501050
if (init != NULL && PyFunction_Check(init)) {
1051-
// Record the __init__ function so _CREATE_INIT_FRAME can
1051+
// Propagate the __init__ function so _CREATE_INIT_FRAME can
10521052
// resolve the code object and continue optimizing.
10531053
callable = sym_new_const(ctx, init);
10541054
PyType_Watch(TYPE_WATCHER_ID, (PyObject *)type);

0 commit comments

Comments
 (0)