Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8921206

Browse files
vstinnerpull[bot]
authored andcommitted
gh-105733: Fix ctypes What's New entry (#106576)
1 parent 3287d02 commit 8921206

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)