diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2014-01-20 21:29:31 +0200 | 
|---|---|---|
| committer | Serhiy Storchaka <storchaka@gmail.com> | 2014-01-20 21:29:31 +0200 | 
| commit | 7e52705ee362001a8761461e9c4d49e3873568e0 (patch) | |
| tree | 5699fe91c61176691c42f95e7ed367172c8382e5 /Modules/_tkinter.c | |
| parent | 6c01e38677550839d10b558b1a9e0e615d6e4a81 (diff) | |
| download | cpython-git-7e52705ee362001a8761461e9c4d49e3873568e0.tar.gz | |
Issue #20315: Removed support for backward compatibility with early 2.x versions.
Diffstat (limited to 'Modules/_tkinter.c')
| -rw-r--r-- | Modules/_tkinter.c | 14 | 
1 files changed, 0 insertions, 14 deletions
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c index ecad541b95..6bf0b69164 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)))  | 
