Enforce Positional Arguments for _CData.from_param (#12373)

This commit is contained in:
Max Muoto authored and GitHub committed 2024-07-20 12:21:36 -07:00
1 parent 9f9a461bc1
commit fa0c14fa33
2 files changed
+1 -6

No files matched your search

+1 -1
View File
@@ -71,7 +71,7 @@ class _CData(metaclass=_CDataMeta):
@classmethod
def from_address(cls, address: int) -> Self: ...
@classmethod
def from_param(cls, obj: Any) -> Self | _CArgObject: ...
def from_param(cls, value: Any, /) -> Self | _CArgObject: ...
@classmethod
def in_dll(cls, library: CDLL, name: str) -> Self: ...
def __buffer__(self, flags: int, /) -> memoryview: ...