mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
Use variable annotations everywhere (#2909)
This commit is contained in:
committed by
Sebastian Rittau
parent
b3c76aab49
commit
efb67946f8
@@ -1,6 +1,6 @@
|
||||
from typing import Any, IO
|
||||
|
||||
version = ... # type: int
|
||||
version: int
|
||||
|
||||
def dump(value: Any, file: IO[Any], version: int = ...) -> None: ...
|
||||
def load(file: IO[Any]) -> Any: ...
|
||||
|
||||
Reference in New Issue
Block a user