mirror of
https://github.com/samba-team/samba.git
synced 2025-03-27 22:50:26 +03:00
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>
This commit is contained in:
parent
5c15e68bb1
commit
2dfcf652ac
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user