From 477a17d0b9c8c4d7990985a899cd7db2818e6815 Mon Sep 17 00:00:00 2001 From: DevilXD Date: Thu, 8 Aug 2019 17:06:11 +0200 Subject: [PATCH 1/3] Fixed docs inconsistency --- redbot/core/commands/requires.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/redbot/core/commands/requires.py b/redbot/core/commands/requires.py index 75a0e351c..35eddd145 100644 --- a/redbot/core/commands/requires.py +++ b/redbot/core/commands/requires.py @@ -719,7 +719,7 @@ def mod(): class _IntKeyDict(Dict[int, _T]): - """Dict subclass which throws KeyError when a non-int key is used.""" + """Dict subclass which throws TypeError when a non-int key is used.""" get: Callable setdefault: Callable @@ -736,7 +736,7 @@ class _IntKeyDict(Dict[int, _T]): class _RulesDict(Dict[Union[int, str], PermState]): - """Dict subclass which throws a KeyError when an invalid key is used.""" + """Dict subclass which throws a TypeError when an invalid key is used.""" get: Callable setdefault: Callable From 463546f1024d98144d41d5e6a56f6c8dc6a28e63 Mon Sep 17 00:00:00 2001 From: DevilXD Date: Thu, 8 Aug 2019 17:12:58 +0200 Subject: [PATCH 2/3] Added changelog entry --- changelog.d/2924.bugfix.rst | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/2924.bugfix.rst diff --git a/changelog.d/2924.bugfix.rst b/changelog.d/2924.bugfix.rst new file mode 100644 index 000000000..bbfa22c17 --- /dev/null +++ b/changelog.d/2924.bugfix.rst @@ -0,0 +1 @@ +Fixed Requires docs inconsistencies From 0d16e2707060f2d6cd57fc3dcf0c02258551b5df Mon Sep 17 00:00:00 2001 From: DevilXD Date: Tue, 27 Aug 2019 10:34:44 +0200 Subject: [PATCH 3/3] Changed category from bugfix to misc --- changelog.d/{2924.bugfix.rst => 2924.misc.rst} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename changelog.d/{2924.bugfix.rst => 2924.misc.rst} (100%) diff --git a/changelog.d/2924.bugfix.rst b/changelog.d/2924.misc.rst similarity index 100% rename from changelog.d/2924.bugfix.rst rename to changelog.d/2924.misc.rst