mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 13:34:58 +08:00
Add missing '-> None' to all __init__ methods.
This commit is contained in:
@@ -20,7 +20,7 @@ NamedTuple = object()
|
||||
|
||||
class TypeAlias:
|
||||
# Class for defining generic aliases for library types.
|
||||
def __init__(self, target_type): ...
|
||||
def __init__(self, target_type) -> None: ...
|
||||
def __getitem__(self, typeargs): ...
|
||||
|
||||
Union = TypeAlias(object)
|
||||
|
||||
Reference in New Issue
Block a user