Skip to content

Commit 5b78953

Browse files
fix formatting
1 parent 55bf43a commit 5b78953

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

Python/optimizer_bytecodes.c

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -896,18 +896,21 @@ dummy_func(void) {
896896
if (class_method) {
897897
ADD_OP(_LOAD_CONST_INLINE_BORROW, 0, (uintptr_t)type);
898898
self_or_null[0] = sym_new_const(ctx, (PyObject *)type);
899-
} else if (static_method) {
899+
}
900+
else {
900901
ADD_OP(_PUSH_NULL, 0, 0);
901902
self_or_null[0] = sym_new_null(ctx);
902903
}
903904
attr = sym_new_const(ctx, callable);
904905
PyType_Watch(TYPE_WATCHER_ID, (PyObject *)type);
905906
_Py_BloomFilter_Add(dependencies, (PyTypeObject *)type);
906-
} else {
907+
}
908+
else {
907909
attr = sym_new_not_null(ctx);
908910
self_or_null[0] = sym_new_unknown(ctx);
909911
}
910-
} else {
912+
}
913+
else {
911914
attr = sym_new_not_null(ctx);
912915
}
913916
}

Python/optimizer_cases.c.h

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

0 commit comments

Comments
 (0)