I am not a qualfied veterinarian and the words and advice of one would give you a far better and more accurate answer. I do know that if water does enter the lungs of any animal, there is going to be increased difficulty in getting oxygen into the body simply because of the decreased capacity in the lungs. In humans this can lead to a condition called pulmonary edema. I do not want to panic you, but there is probably a chance this could cause a respiratory infection, so you should definitely be on the lookout for that. Luckily reptiles are kept heated and the water is probably going to evaporate pretty fast, but there's nothing to say that this initial irritation of the lungs won't cause a pulmonary edema-type problem in the snake where fluids build up.
Keep an eye on your snake, check for behaviour shifts, check for signs of RIs. Remember, the earlier you catch a problem and can consult a veterinarian, the better chance of recovery the snake will have, especially when it comes to an RI.