Python: o que um ponto-e-vírgula faz?

Eu tenho uma função online para me ajudar com o meu projeto atual e tinha ponto e vírgula em algumas linhas. Eu estava me perguntando por que? É para quebrar a função?

def containsAny(self, strings=[]):
    alphabet = 'abcdefghijklmnopqrstuvwxyz0123456789'
    for string in strings:
        for char in string:
            if char in alphabet: return 1;
    return 0;

A função fiquei online com pouca modificação:

for string in strings:
    for char in string:
        if char in alphabet: return 1;

Isso é ^ dizendo o seguinte?

if char in alphabet:
    return 1
    break

questionAnswers(4)

yourAnswerToTheQuestion