mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
quotes in docstring
This commit is contained in:
@@ -7,7 +7,7 @@ def friendly_list(words: Iterable[str], joiner: str = "or") -> str:
|
||||
"""Generate a list of words as readable prose.
|
||||
|
||||
>>> friendly_list(["foo", "bar", "baz"])
|
||||
"foo, bar, or baz"
|
||||
"'foo', 'bar', or 'baz'"
|
||||
|
||||
Args:
|
||||
words (Iterable[str]): A list of words.
|
||||
|
||||
Reference in New Issue
Block a user