marshal: fix arg name, mark positional-only args (#3759)

This commit is contained in:
Shantanu
2020-02-21 20:39:30 -08:00
committed by GitHub
parent 82d7638018
commit 33750df1d7
3 changed files with 4 additions and 9 deletions

View File

@@ -2,7 +2,7 @@ from typing import Any, IO
version: int
def dump(value: Any, file: IO[Any], version: int = ...) -> None: ...
def load(file: IO[Any]) -> Any: ...
def dumps(value: Any, version: int = ...) -> bytes: ...
def loads(string: bytes) -> Any: ...
def dump(__value: Any, __file: IO[Any], __version: int = ...) -> None: ...
def load(__file: IO[Any]) -> Any: ...
def dumps(__value: Any, __version: int = ...) -> bytes: ...
def loads(__bytes: bytes) -> Any: ...

View File

@@ -81,7 +81,6 @@ macpath.samestat
macpath.split
macpath.splitdrive
macpath.splitext
marshal.loads
multiprocessing.shared_memory
os.utime
pyclbr.Class.__init__

View File

@@ -139,10 +139,6 @@ logging.handlers.MemoryHandler.__init__
lzma.LZMACompressor.compress
lzma.is_check_supported
macpath
marshal.dump
marshal.dumps
marshal.load
marshal.loads
mmap.MADV_AUTOSYNC
mmap.MADV_CORE
mmap.MADV_NOCORE