Skip to content

Commit a6a442d

Browse files
authored
DOC: word choice in error message
1 parent a6cbf32 commit a6a442d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/_tkagg.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ PYBIND11_MODULE(_tkagg, m, py::mod_gil_not_used())
356356
}
357357

358358
if (!(TCL_SETVAR || TCL_SETVAR2)) {
359-
throw py::import_error("Failed to load Tcl_SetVar and Tcl_SetVar2");
359+
throw py::import_error("Failed to load Tcl_SetVar or Tcl_SetVar2");
360360
} else if (!TK_FIND_PHOTO) {
361361
throw py::import_error("Failed to load Tk_FindPhoto");
362362
} else if (!TK_PHOTO_PUT_BLOCK) {

0 commit comments

Comments
 (0)