summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2020-03-15 10:26:22 +1300
committerNoel Power <npower@samba.org>2020-03-23 19:12:43 +0000
commitcc79726d95108e3d8ef612a863c2f9fffd768636 (patch)
tree60606f41cddf3d8ecc3f5880f11aff25053cfcc9 /python
parent08a76ec0963049e0f2b8f855ab66ba5141472fce (diff)
downloadsamba-cc79726d95108e3d8ef612a863c2f9fffd768636.tar.gz
py3: Remove #define PyInt_Type PyLong_Type
This allows us to end the use of Python 2/3 compatability macros. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Noel Power <npower@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 30982a80293..07a398de23b 100644
--- a/python/py3compat.h
+++ b/python/py3compat.h
@@ -72,7 +72,6 @@
/* Ints */
-#define PyInt_Type PyLong_Type
#define PyInt_FromLong PyLong_FromLong
#define PyInt_AsLong PyLong_AsLong