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

Skip to content

Commit 80823d7

Browse files
committed
#15094: fix incorrectly placed #endif in _tkinter.c.
Patch by Serhiy Storchaka.
1 parent c7a5a76 commit 80823d7

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

Misc/NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ Core and Builtins
5252
Library
5353
-------
5454

55+
- Issue #15094: Incorrectly placed #endif in _tkinter.c.
56+
Patch by Serhiy Storchaka.
57+
5558
- Issue #13922: argparse no longer incorrectly strips '--'s that appear
5659
after the first one.
5760

Modules/_tkinter.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -996,8 +996,8 @@ AsObj(PyObject *value)
996996
ch);
997997
ckfree(FREECAST outbuf);
998998
return NULL;
999-
#endif
1000999
}
1000+
#endif
10011001
outbuf[i] = ch;
10021002
}
10031003
result = Tcl_NewUnicodeObj(outbuf, size);

0 commit comments

Comments
 (0)