From 2dfcf652acf89ee55464d464bdc49902db52a431 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 6 Jun 2019 05:57:43 +0200 Subject: [PATCH] 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 --- python/py3compat.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 -- 2.47.3