diff options
author | Andrew Bartlett <abartlet@samba.org> | 2019-06-06 05:57:43 +0200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2019-06-06 12:14:25 +0000 |
commit | 2dfcf652acf89ee55464d464bdc49902db52a431 (patch) | |
tree | f9ca0931a79508bd9daed2ed2bae74f26275e16b /python/py3compat.h | |
parent | 5c15e68bb1e79cd4f3f2590f9cadf00253aa788c (diff) | |
download | samba-2dfcf652acf89ee55464d464bdc49902db52a431.tar.gz |
py3: Remove unused PY_DESC_PY3_STRING macro from py3compat.h
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>
Diffstat (limited to 'python/py3compat.h')
-rw-r--r-- | python/py3compat.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/python/py3compat.h b/python/py3compat.h index 3c20407db17..2a876904539 100644 --- a/python/py3compat.h +++ b/python/py3compat.h @@ -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 |