parameters: (self, startLine, endLine)
return_statement: return segment
docstring: returns a segment of this data (from startLine to endLine, inclusive) as a new Channel instance
docstring_summary: returns a segment of this data (from startLine to endLine, inclusive) as a new Channel instance
docstring_tokens: returns a segment of this data ( from startLine to endLine inclusive ) as a new Channel instance
function: def getSegment(self, startLine, endLine):
          '''returns a segment of this data (from startLine to endLine, inclusive) as a new Channel instance'''
          segment = Channel()
          segment.dictData = {k:v for k,v in self.dictData.iteritems() if k >= startLine and k <= endLine}
          return segment
function_tokens: def getSegment ( self , startLine , endLine ) : segment = Channel ( ) segment . dictData = { k : v for k , v in self . dictData . iteritems ( ) if k >= startLine and k <= endLine } return segment