code: def block_range(self, lineno):
          
          last = None
          for exhandler in self.handlers:
              if exhandler.type and lineno == exhandler.type.fromlineno:
                  return lineno, lineno
              if exhandler.body[0].fromlineno <= lineno <= exhandler.body[-1].tolineno:
                  return lineno, exhandler.body[-1].tolineno
              if last is None:
                  last = exhandler.body[0].fromlineno - 1
          return self._elsed_block_range(lineno, self.orelse, last)
docs: Get a range from the given line number to where this node ends.
  
          :param lineno: The line number to start the range at.
          :type lineno: int
  
          :returns: The range of line numbers that this node belongs to,
              starting at the given line number.
          :rtype: tuple(int, int)