(self)
End current group undo block
End current group undo block
End current group undo block
def endblock(self):
        """End current group undo block"""

        block = self._getblock()
        assert block is not self
        if not block.can_undo():
            # Nothing happend
            del self._actions[-1]
            self._next_undo = len(self._actions)
        else:
            block._closed = True
def endblock ( self ) : block = self . _getblock ( ) assert block is not self if not block . can_undo ( ) : # Nothing happend del self . _actions [ - 1 ] self . _next_undo = len ( self . _actions ) else : block . _closed = True