Cleanup: spelling in comments (make check_spelling_*)

This commit is contained in:
Campbell Barton
2025-04-02 03:02:01 +00:00
parent f89cf19ba6
commit 90fd070c28
6 changed files with 13 additions and 13 deletions

View File

@@ -1698,13 +1698,13 @@ void PyC_StdFilesFlush()
* different because the original code uses some internal APIs.
*
* This is approximately equivalent to:
* ```
* \code{.py}
* try:
* sys.stdout.flush()
* sys.stderr.flush()
* except Exception:
* pass
* ```
* \endcode
*/
PyObject *py_flush = PyUnicode_FromString("flush");
BLI_assert(py_flush);

View File

@@ -217,8 +217,8 @@ static bool python_script_exec(
PyC_MainModule_Restore(main_mod);
/* Flush stdout/stderr to ensure the script output is visible.
* Using fflush(stdout) does not solve it. */
/* Flush `stdout` & `stderr` to ensure the script output is visible.
* Using `fflush(stdout)` does not solve it. */
PyC_StdFilesFlush();
bpy_context_clear(C, &gilstate);