Fix ctypes.FormatError code parameter to be optional (#6635)

This commit is contained in:
Numerlor authored and GitHub committed 2021-12-20 15:30:24 -08:00
1 parent 3008032076
commit 1ae4adac4b
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -158,7 +158,7 @@ def create_unicode_buffer(init: int | str, size: int | None = ...) -> Array[c_wc
if sys.platform == "win32":
def DllCanUnloadNow() -> int: ...
def DllGetClassObject(rclsid: Any, riid: Any, ppv: Any) -> int: ... # TODO not documented
def FormatError(code: int) -> str: ...
def FormatError(code: int = ...) -> str: ...
def GetLastError() -> int: ...
def get_errno() -> int: ...