We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4a36d9d + 406a847 commit cc448f2Copy full SHA for cc448f2
src/Tk/tkImaging.c
@@ -347,22 +347,21 @@ load_tkinter_funcs(void) {
347
if (!found_tcl) {
348
found_tcl = get_tcl(hMods[i]);
349
if (found_tcl == -1) {
350
- goto exit;
+ break;
351
}
352
353
if (!found_tk) {
354
found_tk = get_tk(hMods[i]);
355
if (found_tk == -1) {
356
357
358
359
if (found_tcl && found_tk) {
360
361
362
363
364
365
-exit:
366
free(hMods);
367
if (found_tcl != 1) {
368
PyErr_SetString(PyExc_RuntimeError, "Could not find Tcl routines");
0 commit comments