I've had my snakes in a tub with a gap more than that for a while. Unless they're under 200g they won't be able to get through that small of a gap. I don't trust putting my hatchling.

I don't trust any colubrids with any gap though, they're much better at flattening themselves out.