mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-25 19:11:09 +00:00
Fix function docstring
This commit is contained in:
parent
e37ed8ea5e
commit
928d56b566
1 changed files with 1 additions and 1 deletions
|
@ -345,7 +345,7 @@ def _wrapped(text):
|
|||
|
||||
|
||||
def _ends_with_punctuation(text):
|
||||
"""check if a line of text is wrapped"""
|
||||
"""check if a line of text ends with a punctuation glyph"""
|
||||
glyphs = [".", ",", ";", ":", "!", "?", "”", "’", '"', "»"]
|
||||
for glyph in glyphs:
|
||||
if text[-1] == glyph:
|
||||
|
|
Loading…
Reference in a new issue