From 5c15e68bb1e79cd4f3f2590f9cadf00253aa788c Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 6 Jun 2019 05:54:36 +0200 Subject: [PATCH] py3: Remove unused PyStr_AsUTF8String 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 | 1 - 1 file changed, 1 deletion(-) diff --git a/python/py3compat.h b/python/py3compat.h index 736211724c8..3c20407db17 100644 --- a/python/py3compat.h +++ b/python/py3compat.h @@ -62,7 +62,6 @@ #define PyStr_FromFormatV PyUnicode_FromFormatV #define PyStr_AsString PyUnicode_AsUTF8 -#define PyStr_AsUTF8String PyUnicode_AsUTF8String // returns PyBytes #define PyStr_AsUTF8 PyUnicode_AsUTF8 #define PyStr_AsUTF8AndSize PyUnicode_AsUTF8AndSize -- 2.47.3