summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2019-06-06 05:59:17 +0200
committerAndrew Bartlett <abartlet@samba.org>2019-06-06 12:14:25 +0000
commit09fecb677530fb9fedbc5c68cffca09270340bf0 (patch)
tree5f608f6ffdc2f400c253d16de7c5634f2ff0b441 /python
parent2dfcf652acf89ee55464d464bdc49902db52a431 (diff)
downloadsamba-09fecb677530fb9fedbc5c68cffca09270340bf0.tar.gz
samba-09fecb677530fb9fedbc5c68cffca09270340bf0.tar.bz2
samba-09fecb677530fb9fedbc5c68cffca09270340bf0.zip
py3: Remove unused PyInt_CheckExact macro from py3compat.h
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>
Diffstat (limited to 'python')
-rw-r--r--python/py3compat.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/python/py3compat.h b/python/py3compat.h
index 2a876904539..d5e84d97b6b 100644
--- a/python/py3compat.h
+++ b/python/py3compat.h
@@ -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