Skip to content

Commit bbdcd83

Browse files
committed
Address feedback about wording
1 parent d0afb11 commit bbdcd83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/c-api/typeobj.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3126,9 +3126,9 @@ Buffer Object Structures
31263126

31273127
* The export counter decrement in step (1) must be atomic.
31283128

3129-
* Resource cleanup when the counter reaches zero must be reentrant,
3129+
* Resource cleanup when the counter reaches zero must be done atomically,
31303130
as the final release may race with concurrent releases from other
3131-
threads.
3131+
threads and dellocation must only happen once.
31323132

31333133
The exporter MUST use the :c:member:`~Py_buffer.internal` field to keep
31343134
track of buffer-specific resources. This field is guaranteed to remain

0 commit comments

Comments
 (0)