Skip to content

Commit 7f4f644

Browse files
Fix TkAgg backend on Python 2.x
1 parent 4df3275 commit 7f4f644

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/_tkagg.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ static PyMethodDef functions[] =
261261
{NULL, NULL} /* sentinel */
262262
};
263263

264-
#ifdef PY3K
264+
#if PY3K
265265
static PyModuleDef _tkagg_module = {
266266
PyModuleDef_HEAD_INIT,
267267
"_tkagg",

0 commit comments

Comments
 (0)