mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-28 14:02:59 +02:00
...
This commit is contained in:
parent
6f1e8c863f
commit
f5abd0e252
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Reference in a new issue