diff options
author | Victor Stinner <vstinner@python.org> | 2023-06-13 18:16:26 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-13 18:16:26 (GMT) |
commit | 2211454fe210637ed7fabda12690dac6cc9a8149 (patch) | |
tree | 68a35436cc4eb218ec679c03782874960cbbf99c /Doc/whatsnew | |
parent | b97e14a806477af4225777d215ac38c0d9b845f0 (diff) | |
download | cpython-2211454fe210637ed7fabda12690dac6cc9a8149.zip cpython-2211454fe210637ed7fabda12690dac6cc9a8149.tar.gz cpython-2211454fe210637ed7fabda12690dac6cc9a8149.tar.bz2 |
gh-105733: Deprecate ctypes SetPointerType() and ARRAY() (#105734)
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.13.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.13.rst b/Doc/whatsnew/3.13.rst index e6504b0..97bc158 100644 --- a/Doc/whatsnew/3.13.rst +++ b/Doc/whatsnew/3.13.rst @@ -140,6 +140,12 @@ Deprecated Use the ``'w'`` format code instead. (contributed by Hugo van Kemenade in :gh:`80480`) +* :mod:`ctypes`: Deprecate undocumented :func:`!ctypes.SetPointerType` + and :func:`!ctypes.ARRAY` functions. + Replace ``ctypes.SetPointerType(item_type, size)`` with ``item_type * size``. + (Contributed by Victor Stinner in :gh:`105733`.) + + Removed ======= |