summaryrefslogtreecommitdiff
path: root/Modules/_tkinter.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2014-01-20 21:35:06 +0200
committerSerhiy Storchaka <storchaka@gmail.com>2014-01-20 21:35:06 +0200
commit6d242b52c9e09deb024b2d822aa0e34044b71f8c (patch)
tree61acffd5442e6e837e3a23be1ca086802d67738d /Modules/_tkinter.c
parentfdd552596d019b51bf0077cf1eefae6d6e776828 (diff)
parentee56cf6250eb8a384eee408224abc9ababad1282 (diff)
downloadcpython-6d242b52c9e09deb024b2d822aa0e34044b71f8c.tar.gz
Issue #20315: Removed support for backward compatibility with early 2.x versions.
Removed backward compatibility alias curses.window.nooutrefresh which should be removed in 2.3.
Diffstat (limited to 'Modules/_tkinter.c')
-rw-r--r--Modules/_tkinter.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c
index e022a7a7e1..92dd94c4be 100644
--- a/Modules/_tkinter.c
+++ b/Modules/_tkinter.c
@@ -33,20 +33,6 @@ Copyright (C) 1994 Steen Lumholt.
#include <windows.h>
#endif
-/* Allow using this code in Python 2.[12] */
-#ifndef PyDoc_STRVAR
-#define PyDoc_STRVAR(name,str) static char name[] = str
-#endif
-
-#ifndef PyMODINIT_FUNC
-#define PyMODINIT_FUNC void
-#endif
-
-#ifndef PyBool_Check
-#define PyBool_Check(o) 0
-#define PyBool_FromLong PyLong_FromLong
-#endif
-
#define CHECK_SIZE(size, elemsize) \
((size_t)(size) <= Py_MAX((size_t)INT_MAX, UINT_MAX / (size_t)(elemsize)))