original_docstring: Extract the value, where we are in a multiline situation.
docstring: Extract the value, where we are in a multiline situation.
docstring_tokens: Extract the value where we are in a multiline situation .
code: def _multiline(self, value, infile, cur_index, maxline):
          """Extract the value, where we are in a multiline situation."""
          quot = value[:3]
          newvalue = value[3:]
          single_line = self._triple_quote[quot][0]
          multi_line = self._triple_quote[quot][1]
          mat = single_line.match(value)
          if mat is not None:
              retval = list(mat.groups())
              retval.append(cur_index)
              return retval
          if newvalue.find(quot) != -1:
              raise SyntaxError()
          while 1:
              if cur_index < maxline:
                  cur_index += 1
                  newvalue += '\n'
                  line = infile[cur_index]
                  if line.find(quot) == -1:
                      newvalue += line
                  else:
                      break
          else:
              raise SyntaxError()
  
          mat = multi_line.match(line)
          if mat is None:
              raise SyntaxError()
          value, comment = mat.groups()
          return (
           newvalue + value, comment, cur_index)
code_tokens: def _multiline ( self , value , infile , cur_index , maxline ) : quot = value [ : 3 ] newvalue = value [ 3 : ] single_line = self . _triple_quote [ quot ] [ 0 ] multi_line = self . _triple_quote [ quot ] [ 1 ] mat = single_line . match ( value ) if mat is not None : retval = list ( mat . groups ( ) ) retval . append ( cur_index ) return retval if newvalue . find ( quot ) != - 1 : raise SyntaxError ( ) while 1 : if cur_index < maxline : cur_index += 1 newvalue += '\n' line = infile [ cur_index ] if line . find ( quot ) == - 1 : newvalue += line else : break else : raise SyntaxError ( ) mat = multi_line . match ( line ) if mat is None : raise SyntaxError ( ) value , comment = mat . groups ( ) return ( newvalue + value , comment , cur_index )
short_docstring: Extract the value, where we are in a multiline situation.
short_docstring_tokens: Extract the value where we are in a multiline situation .
comment: """Extract the value, where we are in a multiline situation."""