mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-21 02:16:09 -05:00
Fixed small docstring inconsistency (#2924)
* Fixed docs inconsistency * Added changelog entry * Changed category from bugfix to misc
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user