mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-11 15:49:12 +08:00
Fix ctypes.FormatError code parameter to be optional (#6635)
This commit is contained in:
1 parent
3008032076
commit
1ae4adac4b
2 files changed
+2
-2
No files matched your search
@@ -150,7 +150,7 @@ def create_unicode_buffer(init: _UnionT[int, Text], size: int | None = ...) -> A
|
||||
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: ...
|
||||
|
||||
Reference in new issue
Block a user