The answer depends on two conditions: it happens in town, and public transit (a bus, trolleybus or tram) is pulling away from a stop that is equipped and marked with signs. In that case it has priority, and other drivers must give way to it. At the same time, the bus driver doesn't just pull out blindly either: they may start moving only after making sure that vehicles coming up in the next lane won't get in their way. So priority doesn't mean the bus can suddenly pull out right in front of you