Skip to content

Commit 6cbda78

Browse files
mattiperic-wieser
andauthored
Update doc/neps/nep-0049.rst
Co-authored-by: Eric Wieser <[email protected]>
1 parent de3db13 commit 6cbda78

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/neps/nep-0049.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,8 @@ NumPy C-API functions
141141
C++17: https://en.cppreference.com/w/cpp/memory/polymorphic_allocator/deallocate
142142
Rust (allocator_api): https://doc.rust-lang.org/std/alloc/trait.Allocator.html#tymethod.deallocate
143143

144-
The user must keep track of ``size`` and make sure it is consistent with
145-
the ``alloc`` parameter.
144+
The consumer of the `PyDataMemAllocator` interface must keep track of ``size`` and make sure it is
145+
consistent with the parameter passed to the ``(m|c|re)alloc`` functions.
146146

147147
.. c:function:: const PyDataMem_Handler * PyDataMem_SetHandler(PyDataMem_Handler *handler)
148148

0 commit comments

Comments
 (0)