(self, count, func)
Repeat action 1 or more times.
        If more than one - do it as 1 undoble action
Repeat action 1 or more times.
        If more than one - do it as 1 undoble action
Repeat action 1 or more times . If more than one - do it as 1 undoble action
def _repeat(self, count, func):
        """ Repeat action 1 or more times.
        If more than one - do it as 1 undoble action
        """
        if count != 1:
            with self._qpart:
                for _ in range(count):
                    func()
        else:
            func()
def _repeat ( self , count , func ) : if count != 1 : with self . _qpart : for _ in range ( count ) : func ( ) else : func ( )