code: def undo_block_stop(self):
      if self.undoblock.bump_depth(-1) == 0:
          cmd = self.undoblock
          self.undoblock = 0
          if len(cmd) > 0:
              if len(cmd) == 1:
                  # no need to wrap a single cmd
                  cmd = cmd.getcmd(0)
              # this blk of cmds, or single cmd, has already
              # been done, so don't execute it again
              self.addcmd(cmd, 0)
  
imports: import string
  from idlelib.delegator import Delegator
label_desc: Use image node_id 12 for calling the UndoDelegator obj's underlying member method code with example usage: obj.undo_block_stop() without return types