We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40cc923 commit 0a1df7aCopy full SHA for 0a1df7a
stdlib/ctypes/__init__.pyi
@@ -41,11 +41,11 @@ _DLLT = TypeVar("_DLLT", bound=CDLL)
41
if sys.version_info >= (3, 14):
42
@overload
43
@deprecated("ctypes.POINTER with string")
44
- def POINTER(obj: str) -> type[Any]: ...
+ def POINTER(cls: str) -> type[Any]: ...
45
46
- def POINTER(obj: None) -> type[c_void_p]: ...
+ def POINTER(cls: None) -> type[c_void_p]: ...
47
48
- def POINTER(obj: type[_CT]) -> type[_Pointer[_CT]]: ...
+ def POINTER(cls: type[_CT]) -> type[_Pointer[_CT]]: ...
49
def pointer(obj: _CT) -> _Pointer[_CT]: ...
50
51
else:
0 commit comments