Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2145595

Browse files
committed
Initialize the tk_init_failed static variable to 0.
1 parent b1386df commit 2145595

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/_tkinter.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ static PyObject *valInCmd;
281281
static PyObject *trbInCmd;
282282

283283
#ifdef TKINTER_PROTECT_LOADTK
284-
static int tk_load_failed;
284+
static int tk_load_failed = 0;
285285
#endif
286286

287287

0 commit comments

Comments
 (0)