diff options
author | Andrew Bartlett <abartlet@samba.org> | 2019-06-07 11:44:48 +0200 |
---|---|---|
committer | Noel Power <npower@samba.org> | 2019-06-24 17:24:27 +0000 |
commit | f32779b198258da5b28cad6e810e4017c9f6dbc9 (patch) | |
tree | 5f6a5d9fe6722276e8aacdadb887b6f4971b82d8 /python/py3compat.h | |
parent | 7566268f386b7014d3cfad802c4c46cd7b2b3956 (diff) | |
download | samba-f32779b198258da5b28cad6e810e4017c9f6dbc9.tar.gz |
py3: Remove PyStr_AsUTF8AndSize() compatability macro
We no longer need Samba to be py2/py3 compatible so we choose to return to the standard
function names.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
Diffstat (limited to 'python/py3compat.h')
-rw-r--r-- | python/py3compat.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/python/py3compat.h b/python/py3compat.h index 4eca97513d1..d2adb24c6a2 100644 --- a/python/py3compat.h +++ b/python/py3compat.h @@ -54,8 +54,6 @@ /* Strings */ -#define PyStr_AsUTF8AndSize PyUnicode_AsUTF8AndSize - /* description of bytes objects */ #define PY_DESC_PY3_BYTES "bytes" |