mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-10 21:28:55 -05:00
Fixed small docstring inconsistency (#2924)
* Fixed docs inconsistency * Added changelog entry * Changed category from bugfix to misc
This commit is contained in:
commit
bbd30411fd
1
changelog.d/2924.misc.rst
Normal file
1
changelog.d/2924.misc.rst
Normal file
@ -0,0 +1 @@
|
|||||||
|
Fixed Requires docs inconsistencies
|
||||||
@ -719,7 +719,7 @@ def mod():
|
|||||||
|
|
||||||
|
|
||||||
class _IntKeyDict(Dict[int, _T]):
|
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
|
get: Callable
|
||||||
setdefault: Callable
|
setdefault: Callable
|
||||||
@ -736,7 +736,7 @@ class _IntKeyDict(Dict[int, _T]):
|
|||||||
|
|
||||||
|
|
||||||
class _RulesDict(Dict[Union[int, str], PermState]):
|
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
|
get: Callable
|
||||||
setdefault: Callable
|
setdefault: Callable
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user