mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
math, mimetypes, mmap, multiprocessing, sqlite: Python 3.13 updates (#12062)
This commit is contained in:
@@ -11,7 +11,11 @@ __all__ = ["SharedMemory", "ShareableList"]
|
||||
_SLT = TypeVar("_SLT", int, float, bool, str, bytes, None)
|
||||
|
||||
class SharedMemory:
|
||||
def __init__(self, name: str | None = None, create: bool = False, size: int = 0) -> None: ...
|
||||
if sys.version_info >= (3, 13):
|
||||
def __init__(self, name: str | None = None, create: bool = False, size: int = 0, *, track: bool = True) -> None: ...
|
||||
else:
|
||||
def __init__(self, name: str | None = None, create: bool = False, size: int = 0) -> None: ...
|
||||
|
||||
@property
|
||||
def buf(self) -> memoryview: ...
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user