summaryrefslogtreecommitdiffstats
path: root/Include/unicodeobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/unicodeobject.h')
-rw-r--r--Include/unicodeobject.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h
index 103649d..d0a2885 100644
--- a/Include/unicodeobject.h
+++ b/Include/unicodeobject.h
@@ -983,7 +983,8 @@ extern DL_IMPORT(int) PyUnicode_Tailmatch(
);
/* Return the first position of substr in str[start:end] using the
- given search direction or -1 if not found. */
+ given search direction or -1 if not found. -2 is returned in case
+ an error occurred and an exception is set. */
extern DL_IMPORT(int) PyUnicode_Find(
PyObject *str, /* String */