From: Andrew Bartlett Date: Thu, 6 Jun 2019 03:48:07 +0000 (+0200) Subject: py3: Remove unused PyStr_CheckExact macro from py3compat.h X-Git-Tag: ldb-2.0.5~437 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cff26b47eeffe1080fff1c794bbe4dcb8e7b6aed;p=thirdparty%2Fsamba.git 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 --- 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