From: Andrew Bartlett Date: Thu, 6 Jun 2019 03:57:43 +0000 (+0200) Subject: py3: Remove unused PY_DESC_PY3_STRING macro from py3compat.h X-Git-Tag: ldb-2.0.5~430 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2dfcf652acf89ee55464d464bdc49902db52a431;p=thirdparty%2Fsamba.git py3: Remove unused PY_DESC_PY3_STRING 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 3c20407db17..2a876904539 100644 --- a/python/py3compat.h +++ b/python/py3compat.h @@ -65,9 +65,8 @@ #define PyStr_AsUTF8 PyUnicode_AsUTF8 #define PyStr_AsUTF8AndSize PyUnicode_AsUTF8AndSize -/* description of bytes and string objects */ +/* description of bytes objects */ #define PY_DESC_PY3_BYTES "bytes" -#define PY_DESC_PY3_STRING "string" /* Determine if object is really bytes, for code that runs * in python2 & python3 (note: PyBytes_Check is replaced by