Skip to content

Commit 33ae038

Browse files
Update news
1 parent 6dd1e1a commit 33ae038

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
Lines changed: 3 additions & 3 deletions
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.
3-
As from now, :mod:`ctypes` pointer types can be accessed with
4-
``__pointer_type__`` attribute. :func:`ctypes.POINTER` checks this attribute
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
55
first before creating a new pointer type, so if needed to mimic :mod:`ctypes`
66
pointer type then type should have this attribute
7-
(see PyCSimpleTypeAsMetaclassTest for example).
7+
(see :ref:`ctypes-pointers-ctypes-like-types`).

0 commit comments

Comments
 (0)