stubs/calibre_extensions/hyphen.pyi
raw| 1 | from typing import Any |
| 2 | |
| 3 | def load_dictionary(fd: int) -> Any: |
| 4 | "load_dictionary(fd) -> Load the specified hyphenation dictionary from the file descriptor which must have been opened for binary reading" |
| 5 | pass |
| 6 | |
| 7 | def simple_hyphenate(dictionary: Any, word: str) -> str: |
| 8 | "simple_hyphenate(dict, unicode_word) -> Return hyphenated word or raise ValueError" |
| 9 | pass |