summaryrefslogtreecommitdiff
path: root/Objects/stringobject.c
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-04-14 09:08:42 +0000
committerMartin v. Löwis <martin@v.loewis.de>2006-04-14 09:08:42 +0000
commit5cb6936672a1410f5502d754570bc548064f9dc4 (patch)
tree16c2d4cecdd7441b642707a43ed37ce900197175 /Objects/stringobject.c
parent38a76a101796d43fb8cd6c6d5ba54bb811d06f49 (diff)
downloadcpython-git-5cb6936672a1410f5502d754570bc548064f9dc4.tar.gz
Make Py_BuildValue, PyObject_CallFunction and
PyObject_CallMethod aware of PY_SSIZE_T_CLEAN.
Diffstat (limited to 'Objects/stringobject.c')
-rw-r--r--Objects/stringobject.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Objects/stringobject.c b/Objects/stringobject.c
index b399415e4e..99cadca8fc 100644
--- a/Objects/stringobject.c
+++ b/Objects/stringobject.c
@@ -1,5 +1,6 @@
/* String object implementation */
+#define PY_SSIZE_T_CLEAN
#include "Python.h"
#include <ctype.h>