mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
6f1e8c863f
commit
f5abd0e252
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user