]> granicus.if.org Git - python/commit
Remove unneeded assignment in PyBytes_Concat() (GH-15274)
authorSergey Fedoseev <fedoseev.sergey@gmail.com>
Tue, 10 Sep 2019 16:11:10 +0000 (21:11 +0500)
committerGregory P. Smith <greg@krypto.org>
Tue, 10 Sep 2019 16:11:10 +0000 (17:11 +0100)
commitafdeb189e97033b54cef44a7490d89d2013cb4e5
tree1fee64e732137f1436be397e491dba58e628fb27
parent9cbb97b29eac4b23e916a3233f26b60ac69e335b
Remove unneeded assignment in PyBytes_Concat() (GH-15274)

The `wb.len = -1` assignment is unneeded since its introduction in 161d695fb0455ce52530d4f43a9eac4c738f64bb as `PyObject_GetBuffer` always fills it in.
Objects/bytesobject.c