Skip to content

Commit 08364c1

Browse files
cmaloneyvstinner
andauthored
Apply suggestions from code review
Co-authored-by: Victor Stinner <vstinner@python.org>
1 parent db4c09a commit 08364c1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Objects/bytearrayobject.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -341,9 +341,8 @@ bytearray_iconcat_lock_held(PyObject *op, PyObject *other)
341341
}
342342

343343
/* Get the bytes out of the temporary bytearray.
344-
345-
Just returning other doesn't work as __init__ calls this and can't
346-
change self. */
344+
* Just returning other doesn't work as __init__ calls this and can't
345+
* change self. */
347346
if (PyByteArray_CheckExact(other)) {
348347
PyObject *taken = PyObject_CallMethodNoArgs(other,
349348
&_Py_ID(take_bytes));

0 commit comments

Comments
 (0)