py3: Remove unused PyStr_CheckExact macro from py3compat.h
authorAndrew Bartlett <abartlet@samba.org>
Thu, 6 Jun 2019 03:48:07 +0000 (05:48 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 6 Jun 2019 12:14:24 +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 b0dc7bed49c324792287e6fdd523807b9a11c695..e079db4987e7818e11bcbfb940336de3c9850d50 100644 (file)
@@ -56,7 +56,6 @@
 
 #define PyStr_Type PyUnicode_Type
 #define PyStr_Check PyUnicode_Check
-#define PyStr_CheckExact PyUnicode_CheckExact
 #define PyStr_FromString PyUnicode_FromString
 #define PyStr_FromStringAndSize PyUnicode_FromStringAndSize
 #define PyStr_FromFormat PyUnicode_FromFormat