mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Add # noqa comments to typing.AnyStr (#6925)
Co-authored-by: Akuli <akuviljanen17@gmail.com>
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user