QUndoCommandΒΆ

class PyQt5.QtWidgets.QUndoCommand

The C++ documentation can be found here.