diff --git a/stdlib/2.7/typing.pyi b/stdlib/2.7/typing.pyi index f29c48254..edd0a8d00 100644 --- a/stdlib/2.7/typing.pyi +++ b/stdlib/2.7/typing.pyi @@ -60,7 +60,7 @@ class SupportsRound(Generic[_T]): @abstractmethod def __round__(self, ndigits: int = ...) -> _T: ... -class Reversible(Generic[_T]): +class Reversible(Generic[_T_co]): @abstractmethod def __reversed__(self) -> Iterator[_T]: ... diff --git a/stdlib/3/typing.pyi b/stdlib/3/typing.pyi index da4f69f8f..783874d47 100644 --- a/stdlib/3/typing.pyi +++ b/stdlib/3/typing.pyi @@ -70,7 +70,7 @@ class SupportsRound(Generic[_T]): @abstractmethod def __round__(self, ndigits: int = ...) -> _T: ... -class Reversible(Generic[_T]): +class Reversible(Generic[_T_co]): @abstractmethod def __reversed__(self) -> Iterator[_T]: ...