py3: Remove unused IS_PY3 macro from py3compat.h
authorAndrew Bartlett <abartlet@samba.org>
Thu, 6 Jun 2019 03:46:27 +0000 (05:46 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 6 Jun 2019 12:14:24 +0000 (12:14 +0000)
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
python/py3compat.h

index 0f4dcfef33350ffa5ff05bffa3b4d10b914a499e..b0dc7bed49c324792287e6fdd523807b9a11c695 100644 (file)
@@ -22,8 +22,6 @@
 #include <Python.h>
 
 /* Quick docs:
- *
- * The IS_PY3 preprocessor constant is 1 on Python 3, and 0 on Python 2.
  *
  * "PyStr_*" works like PyUnicode_* on Python 3, but uses bytestrings (str)
  * under Python 2.
@@ -54,8 +52,6 @@
 
 /***** Python 3 *****/
 
-#define IS_PY3 1
-
 /* Strings */
 
 #define PyStr_Type PyUnicode_Type