Issue #18701: Remove support of old CPython versions (<3.0) from C code.

This commit is contained in:
Serhiy Storchaka 2013-08-17 00:48:02 +03:00
parent 5c03d20757
commit 8fa8ee3970
13 changed files with 4 additions and 58 deletions

View file

@ -21,7 +21,6 @@
* 3. This notice may not be removed or altered from any source distribution.
*/
#include "sqlitecompat.h"
#include "cache.h"
#include <limits.h>

View file

@ -29,7 +29,6 @@
#include "cursor.h"
#include "prepare_protocol.h"
#include "util.h"
#include "sqlitecompat.h"
#include "pythread.h"

View file

@ -24,7 +24,6 @@
#include "cursor.h"
#include "module.h"
#include "util.h"
#include "sqlitecompat.h"
PyObject* pysqlite_cursor_iternext(pysqlite_Cursor* self);

View file

@ -21,7 +21,6 @@
* 3. This notice may not be removed or altered from any source distribution.
*/
#include "sqlitecompat.h"
#include "prepare_protocol.h"
int pysqlite_prepare_protocol_init(pysqlite_PrepareProtocol* self, PyObject* args, PyObject* kwargs)

View file

@ -23,7 +23,6 @@
#include "row.h"
#include "cursor.h"
#include "sqlitecompat.h"
void pysqlite_row_dealloc(pysqlite_Row* self)
{

View file

@ -27,7 +27,6 @@
#include "microprotocols.h"
#include "prepare_protocol.h"
#include "util.h"
#include "sqlitecompat.h"
/* prototypes */
static int pysqlite_check_remaining_sql(const char* tail);