B.extend(iterable int) -> None

Append all the elements from the iterator or sequence to the
end of B.