Cleanup: spelling in comments (make check_spelling_*)
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user