diff options
author | Jelle Zijlstra <jelle.zijlstra@gmail.com> | 2023-05-26 12:44:23 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-26 12:44:23 (GMT) |
commit | 6e1eccdcce5ea3bf1ef9d326d20ef9df21262c6b (patch) | |
tree | f92b41124c2bc99e1e0557cb627004f995c0f20b /Objects | |
parent | 6c81d7572edbe3a5800b1128e55a2dcef03cc13c (diff) | |
download | cpython-6e1eccdcce5ea3bf1ef9d326d20ef9df21262c6b.zip cpython-6e1eccdcce5ea3bf1ef9d326d20ef9df21262c6b.tar.gz cpython-6e1eccdcce5ea3bf1ef9d326d20ef9df21262c6b.tar.bz2 |
gh-104955: Fix __release_buffer__ signature (#104956)
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/typeobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/typeobject.c b/Objects/typeobject.c index 2fbcafe..0a2e1b1 100644 --- a/Objects/typeobject.c +++ b/Objects/typeobject.c @@ -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, |