]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
py3: Remove unused PyInt_FromString macro from py3compat.h
authorAndrew Bartlett <abartlet@samba.org>
Thu, 6 Jun 2019 03:59:56 +0000 (05:59 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 6 Jun 2019 12:14:25 +0000 (12:14 +0000)
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 <abartlet@samba.org>
python/py3compat.h

index d5e84d97b6b9062fab96879dbdfc8e772f0b64f8..cddb710e5459fe9327b31a40f15c2f31673fa377 100644 (file)
@@ -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