From: Andrew Bartlett Date: Thu, 6 Jun 2019 03:52:07 +0000 (+0200) Subject: py3: Remove unused PyStr_InternInPlace macro from py3compat.h X-Git-Tag: ldb-2.0.5~434 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e6da3fcfbe9a3d54cf08887e3232a75e76df0f8a;p=thirdparty%2Fsamba.git py3: Remove unused PyStr_InternInPlace 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 --- diff --git a/python/py3compat.h b/python/py3compat.h index 775d55bbd7e..423b4be6471 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_InternInPlace PyUnicode_InternInPlace #define PyStr_InternFromString PyUnicode_InternFromString #define PyStr_Decode PyUnicode_Decode