From 7bd3d0f79be8464b63815da8db9c0ec205da5e6e Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 6 Jun 2019 05:59:56 +0200 Subject: [PATCH] py3: Remove unused PyInt_FromString 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 d5e84d97b6b..cddb710e545 100644 --- a/python/py3compat.h +++ b/python/py3compat.h @@ -85,7 +85,6 @@ #define PyInt_Type PyLong_Type #define PyInt_Check PyLong_Check -#define PyInt_FromString PyLong_FromString #define PyInt_FromLong PyLong_FromLong #define PyInt_FromSsize_t PyLong_FromSsize_t #define PyInt_FromSize_t PyLong_FromSize_t -- 2.47.3