8000 gh-105733: Fix ctypes What's New entry (#106576) · python/cpython@970982e · GitHub
[go: up one dir, main page]

Skip to content

Commit 970982e

Browse files
authored
gh-105733: Fix ctypes What's New entry (#106576)
1 parent ca8b55c commit 970982e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/whatsnew/3.13.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ Deprecated
169169

170170
* :mod:`ctypes`: Deprecate undocumented :func:`!ctypes.SetPointerType`
171171
and :func:`!ctypes.ARRAY` functions.
172-
Replace ``ctypes.SetPointerType(item_type, size)`` with ``item_type * size``.
172+
Replace ``ctypes.ARRAY(item_type, size)`` with ``item_type * size``.
173173
(Contributed by Victor Stinner in :gh:`105733`.)
174174

175175
Pending Removal in Python 3.14

0 commit comments

Comments
 (0)
0