converter sinal com estilo de string PyQt4 em sinal PyQt5

Normalmente, escrevo uma pequena função para criar QActions. Mas o PyQt5 não suporta mais a função SIGNAL (). Não sei como reescrever essa função lindamente.

def createAction(self, text, slot=None, signal='triggered()'):
    action = QAction(text, self)
    if slot is not None:
        self.connect(action, SIGNAL(signal), slot)
    return action

questionAnswers(2)

yourAnswerToTheQuestion