summaryrefslogtreecommitdiff
path: root/python/py3compat.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2020-03-15 10:04:52 +1300
committerNoel Power <npower@samba.org>2020-03-23 19:12:43 +0000
commit3aea3b15381857bf3e9a69477c487c91f1b6cbbd (patch)
treedc0c13221ab978bf7d1d1e780003689222f931c2 /python/py3compat.h
parent9bdc5a674288a25d4aafda5cb105d57e5c5636f0 (diff)
downloadsamba-3aea3b15381857bf3e9a69477c487c91f1b6cbbd.tar.gz
py3: Remove #define PyInt_Check PyLong_Check
This will allow us to remove some unused code in the PIDL-generated python bindings. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Noel Power <npower@samba.org>
Diffstat (limited to 'python/py3compat.h')
-rw-r--r--python/py3compat.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/python/py3compat.h b/python/py3compat.h
index d2adb24c6a2..30982a80293 100644
--- a/python/py3compat.h
+++ b/python/py3compat.h
@@ -73,7 +73,6 @@
/* Ints */
#define PyInt_Type PyLong_Type
-#define PyInt_Check PyLong_Check
#define PyInt_FromLong PyLong_FromLong
#define PyInt_AsLong PyLong_AsLong