py3: Remove unused PY_DESC_PY3_STRING macro from py3compat.h
authorAndrew Bartlett <abartlet@samba.org>
Thu, 6 Jun 2019 03:57:43 +0000 (05:57 +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 3c20407db177d003e3e6514fb977b1f93bffc479..2a876904539a74bfb8d3712a9f30c5e3b4fc56b5 100644 (file)
@@ -65,9 +65,8 @@
 #define PyStr_AsUTF8 PyUnicode_AsUTF8
 #define PyStr_AsUTF8AndSize PyUnicode_AsUTF8AndSize
 
-/* description of bytes and string objects */
+/* description of bytes objects */
 #define PY_DESC_PY3_BYTES "bytes"
-#define PY_DESC_PY3_STRING "string"
 
 /* Determine if object is really bytes, for code that runs
  * in python2 & python3 (note: PyBytes_Check is replaced by