From: Victor Stinner Date: Mon, 10 Jul 2023 02:05:38 +0000 (+0200) Subject: gh-105733: Fix ctypes What's New entry (#106576) X-Git-Tag: v3.13.0a1~1463 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=970982e03d34655df262e14a5efcfdc0bddc0add;p=thirdparty%2FPython%2Fcpython.git gh-105733: Fix ctypes What's New entry (#106576) --- diff --git a/Doc/whatsnew/3.13.rst b/Doc/whatsnew/3.13.rst index a01fc3b34b6f..767e78bf2470 100644 --- a/Doc/whatsnew/3.13.rst +++ b/Doc/whatsnew/3.13.rst @@ -169,7 +169,7 @@ Deprecated * :mod:`ctypes`: Deprecate undocumented :func:`!ctypes.SetPointerType` and :func:`!ctypes.ARRAY` functions. - Replace ``ctypes.SetPointerType(item_type, size)`` with ``item_type * size``. + Replace ``ctypes.ARRAY(item_type, size)`` with ``item_type * size``. (Contributed by Victor Stinner in :gh:`105733`.) Pending Removal in Python 3.14