diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2014-01-20 19:35:06 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2014-01-20 19:35:06 (GMT) |
commit | ab0ac27d24076a2a09e3d8de97055a2fc978709f (patch) | |
tree | b0d5a4be76eb6122b30ebbdd801c7f82bddec8b3 /Modules/_tkinter.c | |
parent | 679688e70d29fad62bb7a07e682ef6966c489445 (diff) | |
parent | 7e52705ee362001a8761461e9c4d49e3873568e0 (diff) | |
download | cpython-ab0ac27d24076a2a09e3d8de97055a2fc978709f.zip cpython-ab0ac27d24076a2a09e3d8de97055a2fc978709f.tar.gz cpython-ab0ac27d24076a2a09e3d8de97055a2fc978709f.tar.bz2 |
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.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c index e022a7a..92dd94c 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))) |