Skip to content

Commit 8034620

Browse files
fix else formatting
1 parent ef5c47d commit 8034620

File tree

2 files changed

+28
-14
lines changed

2 files changed

+28
-14
lines changed

Python/optimizer_bytecodes.c

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1241,7 +1241,8 @@ dummy_func(void) {
12411241
if (total_args == 1 && PyCFunction_GET_FLAGS(callable_o) == METH_O) {
12421242
ADD_OP(_NOP, 0, 0);
12431243
}
1244-
} else {
1244+
}
1245+
else {
12451246
sym_set_type(callable, &PyCFunction_Type);
12461247
}
12471248
}
@@ -1252,7 +1253,8 @@ dummy_func(void) {
12521253
if (PyCFunction_GET_FLAGS(callable_o) == METH_FASTCALL) {
12531254
ADD_OP(_NOP, 0, 0);
12541255
}
1255-
} else {
1256+
}
1257+
else {
12561258
sym_set_type(callable, &PyCFunction_Type);
12571259
}
12581260
}
@@ -1263,7 +1265,8 @@ dummy_func(void) {
12631265
if (PyCFunction_GET_FLAGS(callable_o) == (METH_FASTCALL | METH_KEYWORDS)) {
12641266
ADD_OP(_NOP, 0, 0);
12651267
}
1266-
} else {
1268+
}
1269+
else {
12671270
sym_set_type(callable, &PyCFunction_Type);
12681271
}
12691272
}
@@ -1302,7 +1305,8 @@ dummy_func(void) {
13021305
self && Py_IS_TYPE(self, d_type)) {
13031306
ADD_OP(_NOP, 0, 0);
13041307
}
1305-
} else {
1308+
}
1309+
else {
13061310
sym_set_type(callable, &PyMethodDescr_Type);
13071311
}
13081312
}
@@ -1326,7 +1330,8 @@ dummy_func(void) {
13261330
self && Py_IS_TYPE(self, d_type)) {
13271331
ADD_OP(_NOP, 0, 0);
13281332
}
1329-
} else {
1333+
}
1334+
else {
13301335
sym_set_type(callable, &PyMethodDescr_Type);
13311336
}
13321337
}
@@ -1350,7 +1355,8 @@ dummy_func(void) {
13501355
self && Py_IS_TYPE(self, d_type)) {
13511356
ADD_OP(_NOP, 0, 0);
13521357
}
1353-
} else {
1358+
}
1359+
else {
13541360
sym_set_type(callable, &PyMethodDescr_Type);
13551361
}
13561362
}
@@ -1374,7 +1380,8 @@ dummy_func(void) {
13741380
self && Py_IS_TYPE(self, d_type)) {
13751381
ADD_OP(_NOP, 0, 0);
13761382
}
1377-
} else {
1383+
}
1384+
else {
13781385
sym_set_type(callable, &PyMethodDescr_Type);
13791386
}
13801387
}

Python/optimizer_cases.c.h

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

0 commit comments

Comments
 (0)