mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
gh-104955: Fix __release_buffer__ signature (#104956)
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
This commit is contained in:
parent
6c81d7572e
commit
6e1eccdcce
3 changed files with 8 additions and 1 deletions
|
@ -9428,7 +9428,7 @@ static pytype_slotdef slotdefs[] = {
|
|||
"__buffer__($self, flags, /)\n--\n\n"
|
||||
"Return a buffer object that exposes the underlying memory of the object."),
|
||||
BUFSLOT(__release_buffer__, bf_releasebuffer, slot_bf_releasebuffer, wrap_releasebuffer,
|
||||
"__release_buffer__($self, /)\n--\n\n"
|
||||
"__release_buffer__($self, buffer, /)\n--\n\n"
|
||||
"Release the buffer object that exposes the underlying memory of the object."),
|
||||
|
||||
AMSLOT(__await__, am_await, slot_am_await, wrap_unaryfunc,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue