Cleanup: grammar, confusing wording

This commit is contained in:
Campbell Barton
2025-09-24 03:06:11 +00:00
parent a714472194
commit 30485e6122
7 changed files with 13 additions and 15 deletions

View File

@@ -192,7 +192,7 @@ struct BPy_FunctionRNA {
FunctionRNA *func;
/**
* Instance call only. This is *always* set to `pyrna_func_vectorcall`.
* Storing this value is a required by the Python C-API (PEP 590).
* Storing this value is required by the Python C-API (PEP 590).
*/
vectorcallfunc vectorcall;
};

View File

@@ -382,7 +382,7 @@ static PyObject *bpy_rna_context_temp_override_exit(BPyContextTempOverride *self
wmWindow *win = self->ctx_temp.win_is_set ? self->ctx_temp.win : self->ctx_init.win;
if (win && wm_check_window_exists(bmain, win)) {
/* Disallow switching away from temporary-screens & full-screen areas, while it could be
* useful to support this closing a these screens uses different and more involved logic
* useful to support this, closing screens uses different and more involved logic
* compared with switching between user managed screens, see: #117188. */
if (wm_check_screen_switch_supported(WM_window_get_active_screen(win))) {
bpy_rna_context_temp_set_screen_for_window(C, win, self->ctx_temp_orig.screen);