summaryrefslogtreecommitdiffstats
path: root/Objects/stringlib
diff options
context:
space:
mode:
authorFacundo Batista <facundobatista@gmail.com>2007-11-16 19:16:15 (GMT)
committerFacundo Batista <facundobatista@gmail.com>2007-11-16 19:16:15 (GMT)
commit6f7e6fb7a2e5f379a140f320e7c19cb171ab72c1 (patch)
tree2135ebc5f8e9c980eefea905935111961473912f /Objects/stringlib
parent292a069b88b72d910dee2e70a98af5d63982ebd1 (diff)
downloadcpython-6f7e6fb7a2e5f379a140f320e7c19cb171ab72c1.zip
cpython-6f7e6fb7a2e5f379a140f320e7c19cb171ab72c1.tar.gz
cpython-6f7e6fb7a2e5f379a140f320e7c19cb171ab72c1.tar.bz2
Made _ParseTupleFinds only defined to unicodeobject.c
Diffstat (limited to 'Objects/stringlib')
-rw-r--r--Objects/stringlib/find.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Objects/stringlib/find.h b/Objects/stringlib/find.h
index d3490b9..5b17c7f 100644
--- a/Objects/stringlib/find.h
+++ b/Objects/stringlib/find.h
@@ -103,6 +103,8 @@ stringlib_contains_obj(PyObject* str, PyObject* sub)
#endif /* STRINGLIB_STR */
+#ifdef FROM_UNICODE
+
/*
This function is a helper for the "find" family (find, rfind, index,
rindex) of unicodeobject.c file, because they all have the same
@@ -149,6 +151,7 @@ _ParseTupleFinds (PyObject *args, PyObject **substring,
return 1;
}
+#endif /* FROM_UNICODE */
#endif /* STRINGLIB_FIND_H */