summaryrefslogtreecommitdiff
path: root/python/py3compat.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2019-06-06 05:53:44 +0200
committerAndrew Bartlett <abartlet@samba.org>2019-06-06 12:14:25 +0000
commita5b04db676ee73df2f5dd98096ee849c6a0447fa (patch)
tree36506c07073e7ab95c088e7b5f3a1274a1102971 /python/py3compat.h
parent1c92e7bdea0b9d65f05475584e36852db9744599 (diff)
downloadsamba-a5b04db676ee73df2f5dd98096ee849c6a0447fa.tar.gz
py3: Remove unused PyStr_Decode 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 d502d18fa53..736211724c8 100644
--- a/python/py3compat.h
+++ b/python/py3compat.h
@@ -61,7 +61,6 @@
#define PyStr_FromFormat PyUnicode_FromFormat
#define PyStr_FromFormatV PyUnicode_FromFormatV
#define PyStr_AsString PyUnicode_AsUTF8
-#define PyStr_Decode PyUnicode_Decode
#define PyStr_AsUTF8String PyUnicode_AsUTF8String // returns PyBytes
#define PyStr_AsUTF8 PyUnicode_AsUTF8