summaryrefslogtreecommitdiffstats
path: root/Modules/_tkinter.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2014-01-20 19:29:31 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2014-01-20 19:29:31 (GMT)
commit7e52705ee362001a8761461e9c4d49e3873568e0 (patch)
tree5699fe91c61176691c42f95e7ed367172c8382e5 /Modules/_tkinter.c
parent6c01e38677550839d10b558b1a9e0e615d6e4a81 (diff)
downloadcpython-7e52705ee362001a8761461e9c4d49e3873568e0.zip
cpython-7e52705ee362001a8761461e9c4d49e3873568e0.tar.gz
cpython-7e52705ee362001a8761461e9c4d49e3873568e0.tar.bz2
Issue #20315: Removed support for backward compatibility with early 2.x versions.
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 ecad541..6bf0b69 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)))