Python: fix some ptr oops

r? @frank-trampe
Actually I don't really know how this gets assigned a value at all, there's `lastbs = bs` at some point but no `bs` assignment beforehand.