summaryrefslogtreecommitdiff
path: root/psycopg/python.h
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2016-08-15 01:06:42 +0100
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2016-08-15 01:06:42 +0100
commit3b41c3a6f373af0100a399cea150a9420ecc4acb (patch)
treeca9b78d0eff01055b616b12121199382de6b41d0 /psycopg/python.h
parent1d950748af199d76069a5fb71bd9f7ace7a2e50e (diff)
downloadpsycopg2-3b41c3a6f373af0100a399cea150a9420ecc4acb.tar.gz
Stop compiling with Python 2.5
Diffstat (limited to 'psycopg/python.h')
-rw-r--r--psycopg/python.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/psycopg/python.h b/psycopg/python.h
index 90c8251..cfb8dad 100644
--- a/psycopg/python.h
+++ b/psycopg/python.h
@@ -31,8 +31,8 @@
#include <stringobject.h>
#endif
-#if PY_VERSION_HEX < 0x02050000
-# error "psycopg requires Python >= 2.5"
+#if PY_VERSION_HEX < 0x02060000
+# error "psycopg requires Python >= 2.6"
#endif
/* hash() return size changed around version 3.2a4 on 64bit platforms. Before