Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Apply suggestions from code review
Co-authored-by: Victor Stinner <[email protected]>
  • Loading branch information
cmaloney and vstinner authored Nov 24, 2025
commit 08364c13eaca305ebf65a694f59aad4e0f2ce763
5 changes: 2 additions & 3 deletions Objects/bytearrayobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -341,9 +341,8 @@ bytearray_iconcat_lock_held(PyObject *op, PyObject *other)
}

/* Get the bytes out of the temporary bytearray.

Just returning other doesn't work as __init__ calls this and can't
change self. */
* Just returning other doesn't work as __init__ calls this and can't
* change self. */
if (PyByteArray_CheckExact(other)) {
PyObject *taken = PyObject_CallMethodNoArgs(other,
&_Py_ID(take_bytes));
Expand Down
Loading