Skip to content

Commit 7487669

Browse files
committed
Style fixes in TO_BOOL_STR
1 parent 5f06e7f commit 7487669

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Python/bytecodes.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -512,14 +512,14 @@ dummy_func(
512512
res = PyStackRef_False;
513513
}
514514

515-
op(_GUARD_TOS_UNICODE, (value-- value)) {
515+
op(_GUARD_TOS_UNICODE, (value -- value)) {
516516
PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
517517
EXIT_IF(!PyUnicode_CheckExact(value_o));
518518
}
519519

520-
op(_TO_BOOL_STR, (value-- res)) {
520+
op(_TO_BOOL_STR, (value -- res)) {
521521
STAT_INC(TO_BOOL, hit);
522-
PyObject* value_o = PyStackRef_AsPyObjectBorrow(value);
522+
PyObject *value_o = PyStackRef_AsPyObjectBorrow(value);
523523
if (value_o == &_Py_STR(empty)) {
524524
assert(_Py_IsImmortal(value_o));
525525
DEAD(value);
@@ -533,7 +533,7 @@ dummy_func(
533533
}
534534

535535
macro(TO_BOOL_STR) =
536-
_GUARD_TOS_UNICODE + unused / 1 + unused / 2 + _TO_BOOL_STR;
536+
_GUARD_TOS_UNICODE + unused/1 + unused/2 + _TO_BOOL_STR;
537537

538538
op(_REPLACE_WITH_TRUE, (value -- res)) {
539539
PyStackRef_CLOSE(value);

Python/executor_cases.c.h

Lines changed: 1 addition & 1 deletion
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: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)