]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-105733: Fix ctypes What's New entry (#106576)
authorVictor Stinner <vstinner@python.org>
Mon, 10 Jul 2023 02:05:38 +0000 (04:05 +0200)
committerGitHub <noreply@github.com>
Mon, 10 Jul 2023 02:05:38 +0000 (04:05 +0200)
Doc/whatsnew/3.13.rst

index a01fc3b34b6fe8b0b373a7f5d8e580a7fcab7da0..767e78bf2470a72f6511bb5dea8d4cb7c1006f05 100644 (file)
@@ -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