From 3d498a74baf296020a7ecca5c0e8e90ac2d79bf3 Mon Sep 17 00:00:00 2001 From: Michael H Date: Tue, 23 Apr 2019 14:16:15 -0400 Subject: [PATCH] [Docs] Update docs for `redbot.core.humanize_list` (#2598) closes #2546 --- redbot/core/utils/chat_formatting.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/redbot/core/utils/chat_formatting.py b/redbot/core/utils/chat_formatting.py index 5168a2cd6..52380013e 100644 --- a/redbot/core/utils/chat_formatting.py +++ b/redbot/core/utils/chat_formatting.py @@ -344,6 +344,11 @@ def humanize_list(items: Sequence[str]) -> str: items : Sequence[str] The items of the list to join together. + Raises + ------ + IndexError + An empty sequence was passed + Examples -------- .. testsetup::