mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-20 00:28:28 +08:00
add (overwrite with) mypy stubs, if available
This commit is contained in:
8
stdlib/2.7/pickle.pyi
Normal file
8
stdlib/2.7/pickle.pyi
Normal file
@@ -0,0 +1,8 @@
|
||||
# Stubs for pickle (Python 2)
|
||||
|
||||
from typing import Any, IO
|
||||
|
||||
def dump(obj: Any, file: IO[str], protocol: int = None) -> None: ...
|
||||
def dumps(obj: Any, protocol: int = None) -> str: ...
|
||||
def load(file: IO[str]) -> Any: ...
|
||||
def loads(str: str) -> Any: ...
|
||||
Reference in New Issue
Block a user