Skip to content

Commit 0a1df7a

Browse files
srittaumingyu.park
authored andcommitted
[ctypes] Fix argument name (python#14048)
1 parent 40cc923 commit 0a1df7a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

stdlib/ctypes/__init__.pyi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ _DLLT = TypeVar("_DLLT", bound=CDLL)
4141
if sys.version_info >= (3, 14):
4242
@overload
4343
@deprecated("ctypes.POINTER with string")
44-
def POINTER(obj: str) -> type[Any]: ...
44+
def POINTER(cls: str) -> type[Any]: ...
4545
@overload
46-
def POINTER(obj: None) -> type[c_void_p]: ...
46+
def POINTER(cls: None) -> type[c_void_p]: ...
4747
@overload
48-
def POINTER(obj: type[_CT]) -> type[_Pointer[_CT]]: ...
48+
def POINTER(cls: type[_CT]) -> type[_Pointer[_CT]]: ...
4949
def pointer(obj: _CT) -> _Pointer[_CT]: ...
5050

5151
else:

0 commit comments

Comments
 (0)