mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
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.
This commit is contained in:
commit
ab0ac27d24
8 changed files with 3 additions and 98 deletions
|
@ -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)))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue