This commit is contained in:
Kovid Goyal
2020-01-06 15:53:07 +05:30
parent 6f1e8c863f
commit f5abd0e252
+1
View File
@@ -745,6 +745,7 @@ static PyObject *
icu_BreakIterator_count_words(icu_BreakIterator *self, PyObject *args) {
unsigned long ans = 0;
do_split(self, count_words_callback, &ans);
if (PyErr_Occurred()) return NULL;
return Py_BuildValue("k", ans);
}