We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33ae038 commit 08bdadaCopy full SHA for 08bdada
1 file changed
Misc/NEWS.d/next/Library/2025-03-17-23-07-57.gh-issue-100926.B8gcbz.rst
@@ -1,7 +1,7 @@
1
Move :func:`ctypes.POINTER` types cache from the global ``_pointer_type_cache``
2
to the corresponding :mod:`ctypes` types to avoid unlimited growth of the cache.
3
As from now, :mod:`ctypes` pointer types can be accessed with a
4
-:attr:`~_CData.__pointer_type__` attribute. :func:`ctypes.POINTER` checks this attribute
+``__pointer_type__`` attribute. :func:`ctypes.POINTER` checks this attribute
5
first before creating a new pointer type, so if needed to mimic :mod:`ctypes`
6
pointer type then type should have this attribute
7
(see :ref:`ctypes-pointers-ctypes-like-types`).
0 commit comments