py3: Remove unused PyStr_Format macro from py3compat.h
authorAndrew Bartlett <abartlet@samba.org>
Thu, 6 Jun 2019 03:50:49 +0000 (05:50 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 6 Jun 2019 12:14:25 +0000 (12:14 +0000)
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>
python/py3compat.h

index 0b6cd013d1c7218cd8da35aac64bcf25297e1dff..775d55bbd7e9918d87357ca13c3a1d39638f176c 100644 (file)
@@ -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