diff --git a/stdlib/@python2/typing.pyi b/stdlib/@python2/typing.pyi index a1b02e819..b50965bba 100644 --- a/stdlib/@python2/typing.pyi +++ b/stdlib/@python2/typing.pyi @@ -77,7 +77,7 @@ Counter = _Alias() Deque = _Alias() # Predefined type variables. -AnyStr = TypeVar("AnyStr", str, unicode) +AnyStr = TypeVar("AnyStr", str, unicode) # noqa: Y001 # Abstract base classes. diff --git a/stdlib/typing.pyi b/stdlib/typing.pyi index 1ec9ba720..4e08d3e1a 100644 --- a/stdlib/typing.pyi +++ b/stdlib/typing.pyi @@ -136,7 +136,7 @@ if sys.version_info >= (3, 9): Annotated: _SpecialForm = ... # Predefined type variables. -AnyStr = TypeVar("AnyStr", str, bytes) +AnyStr = TypeVar("AnyStr", str, bytes) # noqa: Y001 if sys.version_info >= (3, 8): # This class did actually exist in 3.7, but had a different base.