Skip to content

Commit ffc1810

Browse files
committed
clang tidy
1 parent 09de72c commit ffc1810

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

include/pybind11/pybind11.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3548,8 +3548,9 @@ PYBIND11_NOINLINE void print(const tuple &args, const dict &kwargs) {
35483548
}
35493549
}
35503550

3551-
if (file.is_none())
3551+
if (file.is_none()) {
35523552
return;
3553+
}
35533554

35543555
auto write = file.attr("write");
35553556
write(std::move(line));

0 commit comments

Comments
 (0)