summaryrefslogtreecommitdiff
path: root/psycopg/python.h
diff options
context:
space:
mode:
Diffstat (limited to 'psycopg/python.h')
-rw-r--r--psycopg/python.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/psycopg/python.h b/psycopg/python.h
index 452c734..ee2dee7 100644
--- a/psycopg/python.h
+++ b/psycopg/python.h
@@ -106,6 +106,7 @@
/* XXX BytesType -> Bytes_Type */
#define BytesType PyString_Type
#define Bytes_Check PyString_Check
+#define Bytes_CheckExact PyString_CheckExact
#define Bytes_AS_STRING PyString_AS_STRING
#define Bytes_GET_SIZE PyString_GET_SIZE
#define Bytes_Size PyString_Size
@@ -120,6 +121,7 @@
#define BytesType PyBytes_Type
#define Bytes_Check PyBytes_Check
+#define Bytes_CheckExact PyBytes_CheckExact
#define Bytes_AS_STRING PyBytes_AS_STRING
#define Bytes_GET_SIZE PyBytes_GET_SIZE
#define Bytes_Size PyBytes_Size