Cómo agregar un separador en un Menubar Pyqt5

# Works both for PyQt5.QtWidgets QMenu and QMenuBar
menu = QMenu()
first_action = menu.addAction("First")
menu.addSeparator()
second_action = menu.addAction("Second")
Neversleeper