Skip to content

Commit 08bdada

Browse files
Fix news
1 parent 33ae038 commit 08bdada

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Move :func:`ctypes.POINTER` types cache from the global ``_pointer_type_cache``
22
to the corresponding :mod:`ctypes` types to avoid unlimited growth of the cache.
33
As from now, :mod:`ctypes` pointer types can be accessed with a
4-
:attr:`~_CData.__pointer_type__` attribute. :func:`ctypes.POINTER` checks this attribute
4+
``__pointer_type__`` attribute. :func:`ctypes.POINTER` checks this attribute
55
first before creating a new pointer type, so if needed to mimic :mod:`ctypes`
66
pointer type then type should have this attribute
77
(see :ref:`ctypes-pointers-ctypes-like-types`).

0 commit comments

Comments
 (0)