Fixed small docstring inconsistency (#2924)

* Fixed docs inconsistency

* Added changelog entry

* Changed category from bugfix to misc
This commit is contained in:
Michael H 2019-08-27 12:40:36 -04:00 committed by GitHub
commit bbd30411fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -0,0 +1 @@
Fixed Requires docs inconsistencies

View File

@ -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