]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
py3: Remove unused PyStr_InternFromString macro from py3compat.h
authorAndrew Bartlett <abartlet@samba.org>
Thu, 6 Jun 2019 03:52:54 +0000 (05:52 +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 423b4be64712d812e8ed2bddf85da405f08af779..d502d18fa5389d7d8fbe6b309afbe756c3d3aec9 100644 (file)
@@ -61,7 +61,6 @@
 #define PyStr_FromFormat PyUnicode_FromFormat
 #define PyStr_FromFormatV PyUnicode_FromFormatV
 #define PyStr_AsString PyUnicode_AsUTF8
-#define PyStr_InternFromString PyUnicode_InternFromString
 #define PyStr_Decode PyUnicode_Decode
 
 #define PyStr_AsUTF8String PyUnicode_AsUTF8String // returns PyBytes