mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-17 11:31:25 +08:00
Mark SharedMemory.buf optional (#14723)
This commit is contained in:
1 parent
1db21c5a57
commit
9b7a31d4ad
1 file changed
+1
-1
@@ -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