mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-06-24 09:48:39 +08:00
Mark SharedMemory.buf optional (#14723)
This commit is contained in:
@@ -15,7 +15,7 @@ class SharedMemory:
|
||||
def __init__(self, name: str | None = None, create: bool = False, size: int = 0) -> None: ...
|
||||
|
||||
@property
|
||||
def buf(self) -> memoryview: ...
|
||||
def buf(self) -> memoryview | None: ...
|
||||
@property
|
||||
def name(self) -> str: ...
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user