py3: Remove unused PyInt_CheckExact macro from py3compat.h
authorAndrew Bartlett <abartlet@samba.org>
Thu, 6 Jun 2019 03:59:17 +0000 (05:59 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 6 Jun 2019 12:14:25 +0000 (12:14 +0000)
Now that we are no longer developing new py2/py3 compatible code we can remove
any aspects of this header we do not use.  This will make the eventual removal
easier.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
python/py3compat.h

index 2a876904539a74bfb8d3712a9f30c5e3b4fc56b5..d5e84d97b6b9062fab96879dbdfc8e772f0b64f8 100644 (file)
@@ -85,7 +85,6 @@
 
 #define PyInt_Type PyLong_Type
 #define PyInt_Check PyLong_Check
-#define PyInt_CheckExact PyLong_CheckExact
 #define PyInt_FromString PyLong_FromString
 #define PyInt_FromLong PyLong_FromLong
 #define PyInt_FromSsize_t PyLong_FromSsize_t