From b1ca339c50e5c77dbba066349842bdfe49357c5e Mon Sep 17 00:00:00 2001 From: Eddie Darling <58013020+spagh-eddie@users.noreply.github.com> Date: Tue, 1 Mar 2022 02:28:06 -0800 Subject: [PATCH] Fix typo in comment (#2025) --- redis/typing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.