mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-24 21:01:52 +08:00
six: Fix incorrect type[type[Any]] annotation (#8599)
Mypy will (correctly, I think) start flagging `type[type[Any]]` as an illegal annotation when mypy 0.980 comes out. Let's fix it now, before it comes out.
This commit is contained in:
@@ -28,7 +28,7 @@ PY34: Literal[True]
|
||||
|
||||
string_types: tuple[type[str]]
|
||||
integer_types: tuple[type[int]]
|
||||
class_types: tuple[type[type[Any]]]
|
||||
class_types: tuple[type[type]]
|
||||
text_type = str
|
||||
binary_type = bytes
|
||||
|
||||
|
||||
Reference in New Issue
Block a user