Make the value argument to ctypes.cbool.__init__ optional. (#3273)

This commit is contained in:
Rebecca Chen
2019-09-27 15:39:04 -07:00
committed by Sebastian Rittau
parent 4e1a45a0bb
commit ac35a18ad6

View File

@@ -228,7 +228,7 @@ class c_wchar_p(_PointerLike, _SimpleCData[Optional[Text]]):
def __init__(self, value: Optional[_UnionT[int, Text]] = ...) -> None: ...
class c_bool(_SimpleCData[bool]):
def __init__(self, value: bool) -> None: ...
def __init__(self, value: bool = ...) -> None: ...
if sys.platform == 'win32':
class HRESULT(_SimpleCData[int]): ... # TODO undocumented