Skip to content

Commit 17f4f87

Browse files
committed
add None support
1 parent a602728 commit 17f4f87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/ctypes/__init__.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ class py_object(_CanCastTo, _SimpleCData[_T]):
217217

218218
class c_bool(_SimpleCData[bool]):
219219
_type_: ClassVar[Literal["?"]]
220-
def __init__(self, value: SupportsBool | SupportsLen = ...) -> None: ...
220+
def __init__(self, value: SupportsBool | SupportsLen | None = ...) -> None: ...
221221

222222
class c_byte(_SimpleCData[int]):
223223
_type_: ClassVar[Literal["b"]]

0 commit comments

Comments
 (0)