Fixed docs inconsistency

This commit is contained in:
DevilXD 2019-08-08 17:06:11 +02:00 committed by GitHub
parent 556af32bb5
commit 477a17d0b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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