summaryrefslogtreecommitdiff
path: root/python/py3compat.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2019-06-07 10:27:34 +0200
committerNoel Power <npower@samba.org>2019-06-24 17:24:26 +0000
commit559dd2d25a644239902753e842b808bac1a0b439 (patch)
tree7fa1563e6d4b2d7934b868aac0b4f199c1bbda20 /python/py3compat.h
parent5ae1767970de2a765b2a35e137c21b9e24629e17 (diff)
downloadsamba-559dd2d25a644239902753e842b808bac1a0b439.tar.gz
py3: Remove PyStr_Type() 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.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/python/py3compat.h b/python/py3compat.h
index a131cbef368..a66e940001d 100644
--- a/python/py3compat.h
+++ b/python/py3compat.h
@@ -54,7 +54,6 @@
/* Strings */
-#define PyStr_Type PyUnicode_Type
#define PyStr_Check PyUnicode_Check
#define PyStr_FromString PyUnicode_FromString
#define PyStr_FromStringAndSize PyUnicode_FromStringAndSize