We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a602728 commit 17f4f87Copy full SHA for 17f4f87
stdlib/ctypes/__init__.pyi
@@ -217,7 +217,7 @@ class py_object(_CanCastTo, _SimpleCData[_T]):
217
218
class c_bool(_SimpleCData[bool]):
219
_type_: ClassVar[Literal["?"]]
220
- def __init__(self, value: SupportsBool | SupportsLen = ...) -> None: ...
+ def __init__(self, value: SupportsBool | SupportsLen | None = ...) -> None: ...
221
222
class c_byte(_SimpleCData[int]):
223
_type_: ClassVar[Literal["b"]]
0 commit comments