mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-31 07:05:24 +08:00
ctypes: fix arg name on windows (#4111)
Co-authored-by: hauntsaninja <>
This commit is contained in:
@@ -183,7 +183,7 @@ def sizeof(obj_or_type: _UnionT[_CData, Type[_CData]]) -> int: ...
|
||||
def string_at(address: _CVoidConstPLike, size: int = ...) -> bytes: ...
|
||||
if sys.platform == 'win32':
|
||||
def WinError(code: Optional[int] = ...,
|
||||
desc: Optional[str] = ...) -> WindowsError: ...
|
||||
descr: Optional[str] = ...) -> OSError: ...
|
||||
def wstring_at(address: _CVoidConstPLike, size: int = ...) -> str: ...
|
||||
|
||||
class _SimpleCData(Generic[_T], _CData):
|
||||
|
||||
Reference in New Issue
Block a user