|
|
@ -117,6 +117,6 @@ if __name__ == '__main__': |
|
|
|
from hyphen import Hyphenator |
|
|
|
h_en = Hyphenator('en_US') |
|
|
|
|
|
|
|
wrap, remaining = wrap_single_line('https://stackoverflow.com/questions/3940128/how-can-i-reverse-a-list-in-python', width=46, use_hyphenator=h_en) |
|
|
|
line, remaining = wrap_single_line('https://stackoverflow.com/questions/3940128/how-can-i-reverse-a-list-in-python', width=46, use_hyphenator=h_en) |
|
|
|
|
|
|
|
print(wrap, remaining) |
|
|
|
print(line, remaining) |