mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 20:24:30 +08:00
marshal: fix arg name, mark positional-only args (#3759)
This commit is contained in:
@@ -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: ...
|
||||
|
||||
@@ -81,7 +81,6 @@ macpath.samestat
|
||||
macpath.split
|
||||
macpath.splitdrive
|
||||
macpath.splitext
|
||||
marshal.loads
|
||||
multiprocessing.shared_memory
|
||||
os.utime
|
||||
pyclbr.Class.__init__
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user