diff --git a/redis/typing.py b/redis/typing.py index d96e4e3a5d..73ae411f4d 100644 --- a/redis/typing.py +++ b/redis/typing.py @@ -29,7 +29,7 @@ ScriptTextT = _StringLikeT TimeoutSecT = Union[int, float, _StringLikeT] # Mapping is not covariant in the key type, which prevents -# Mapping[_StringLikeT, X from accepting arguments of type Dict[str, X]. Using +# Mapping[_StringLikeT, X] from accepting arguments of type Dict[str, X]. Using # a TypeVar instead of a Union allows mappings with any of the permitted types # to be passed. Care is needed if there is more than one such mapping in a # type signature because they will all be required to be the same key type.