summaryrefslogtreecommitdiff
path: root/python/py3compat.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2019-06-07 11:13:03 +0200
committerNoel Power <npower@samba.org>2019-06-24 17:24:27 +0000
commitd9d9463fd3c7eda14a3170e214d6a56c9efbbcec (patch)
treedbd801d1460282516e3188612fd68bba8037ba45 /python/py3compat.h
parent75d87b29f11a1dacb37ccc1b10f8d034063ef5ba (diff)
downloadsamba-d9d9463fd3c7eda14a3170e214d6a56c9efbbcec.tar.gz
py3: Remove PyStr_FromFormatV() 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 b1d2206bf8f..2db77d1b1dd 100644
--- a/python/py3compat.h
+++ b/python/py3compat.h
@@ -54,7 +54,6 @@
/* Strings */
-#define PyStr_FromFormatV PyUnicode_FromFormatV
#define PyStr_AsString PyUnicode_AsUTF8
#define PyStr_AsUTF8 PyUnicode_AsUTF8