QEventLoopLockerΒΆ

class PyQt5.QtCore.QEventLoopLocker

The C++ documentation can be found here.