Skip to content

Commit a92d938

Browse files
committed
nit
1 parent 3150eab commit a92d938

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/c-api/memory.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ returned by :c:func:`PyObject_Malloc` for allocating memory for buffers.
111111
However, in the free-threaded build, Python objects must be allocated through :c:func:`PyObject_Malloc`.
112112
Non-Python objects must not be allocated this function, for example, it is currently acceptable to
113113
allocate buffers(non-Python objects) through :c:func:`PyObject_Malloc`; that will no longer be allowed
114-
and buffers should instead be allocated through :c:func:`PyMem_Malloc`, :c:func:`PyMem_RawMalloc`, or :c:func:`malloc`..
114+
and buffers should instead be allocated through :c:func:`PyMem_Malloc`, :c:func:`PyMem_RawMalloc`, or :c:func:`malloc`.
115115

116116
The three allocation domains are:
117117

0 commit comments

Comments
 (0)