From: Andrew Svetlov Date: Sun, 22 Jul 2012 10:56:54 +0000 (+0300) Subject: #15094: fix incorrectly placed #endif in _tkinter.c. X-Git-Tag: v3.3.0b2~125 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=80823d7ed75fef43b47a1f9312224bd93b1628ae;p=python #15094: fix incorrectly placed #endif in _tkinter.c. Patch by Serhiy Storchaka. --- diff --git a/Misc/NEWS b/Misc/NEWS index a960f2fa29..62099bfa08 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -52,6 +52,9 @@ Core and Builtins Library ------- +- Issue #15094: Incorrectly placed #endif in _tkinter.c. + Patch by Serhiy Storchaka. + - Issue #13922: argparse no longer incorrectly strips '--'s that appear after the first one. diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c index f6cd88d69c..70f47036d0 100644 --- a/Modules/_tkinter.c +++ b/Modules/_tkinter.c @@ -996,8 +996,8 @@ AsObj(PyObject *value) ch); ckfree(FREECAST outbuf); return NULL; -#endif } +#endif outbuf[i] = ch; } result = Tcl_NewUnicodeObj(outbuf, size);