parameters: (self, start, end, exclude_end=False)
return_statement: return self.tokens[self.token_index(start):self.token_index(end)+offset]
docstring: Return all tokens between (and including) start and end.
  
          If *exclude_end* is ``True`` (default is ``False``) the end token
          is included too.
docstring_summary: Return all tokens between (and including) start and end.
docstring_tokens: Return all tokens between ( and including ) start and end .
function: def tokens_between(self, start, end, exclude_end=False):
          """Return all tokens between (and including) start and end.
  
          If *exclude_end* is ``True`` (default is ``False``) the end token
          is included too.
          """
          if exclude_end:
              offset = 0
          else:
              offset = 1
          return self.tokens[self.token_index(start):self.token_index(end)+offset]
function_tokens: def tokens_between ( self , start , end , exclude_end = False ) : if exclude_end : offset = 0 else : offset = 1 return self . tokens [ self . token_index ( start ) : self . token_index ( end ) + offset ]