@@ -74,7 +74,7 @@ extern "C"
7474 auto const file_name_abs =
7575 scorepy::abspath (std::string_view (file_name_cstr, file_name_len));
7676
77- if (identifier == nullptr or identifier == Py_None)
77+ if (identifier == nullptr || identifier == Py_None)
7878 {
7979 scorepy::region_begin (function_name, std::move (module ), std::move (file_name_abs),
8080 line_number);
@@ -127,7 +127,7 @@ extern "C"
127127 std::string module (module_cstr, module_len);
128128 std::string_view function_name (function_name_cstr, function_name_len);
129129
130- if (identifier == nullptr or identifier == Py_None)
130+ if (identifier == nullptr || identifier == Py_None)
131131 {
132132 scorepy::region_end (function_name, std::move (module ));
133133 }
@@ -254,7 +254,7 @@ extern "C"
254254 { " abspath" , abspath, METH_VARARGS, " Estimates the absolute Path." },
255255 { " force_finalize" , force_finalize, METH_VARARGS, " triggers a finalize" },
256256 { " reregister_exit_handler" , reregister_exit_handler, METH_VARARGS,
257- " register an new atexit handler" },
257+ " register a new atexit handler" },
258258 { NULL , NULL , 0 , NULL } /* Sentinel */
259259 };
260260}
0 commit comments