summaryrefslogtreecommitdiff
path: root/python/py3compat.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2019-06-06 05:48:07 +0200
committerAndrew Bartlett <abartlet@samba.org>2019-06-06 12:14:24 +0000
commitcff26b47eeffe1080fff1c794bbe4dcb8e7b6aed (patch)
tree1da9070346d6da33a1a94b16ca91a555d370d4f0 /python/py3compat.h
parent6a8c7adc5a454154904aa3b0fe52aef0b78ab7d6 (diff)
downloadsamba-cff26b47eeffe1080fff1c794bbe4dcb8e7b6aed.tar.gz
py3: Remove unused PyStr_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/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 b0dc7bed49c..e079db4987e 100644
--- a/python/py3compat.h
+++ b/python/py3compat.h
@@ -56,7 +56,6 @@
#define PyStr_Type PyUnicode_Type
#define PyStr_Check PyUnicode_Check
-#define PyStr_CheckExact PyUnicode_CheckExact
#define PyStr_FromString PyUnicode_FromString
#define PyStr_FromStringAndSize PyUnicode_FromStringAndSize
#define PyStr_FromFormat PyUnicode_FromFormat