summaryrefslogtreecommitdiff
path: root/python/py3compat.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2019-06-06 05:50:49 +0200
committerAndrew Bartlett <abartlet@samba.org>2019-06-06 12:14:25 +0000
commite191788c0654c80d9e9defff080049bfb3115fbf (patch)
tree34c734dcb43853c1891312704fcf34312e0f205e /python/py3compat.h
parent00718304e9a01b5ee8b0a5cf4e7fa323ca85b032 (diff)
downloadsamba-e191788c0654c80d9e9defff080049bfb3115fbf.tar.gz
py3: Remove unused PyStr_Format 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 0b6cd013d1c..775d55bbd7e 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_Format PyUnicode_Format
#define PyStr_InternInPlace PyUnicode_InternInPlace
#define PyStr_InternFromString PyUnicode_InternFromString
#define PyStr_Decode PyUnicode_Decode