def _extract_doc_comment_simple(content, line, column, markers):
 align_column = (column - len(markers[0]))
 pos = content[line].find(markers[2], column)
 if (pos != (-1)):
  return (line, (pos + len(markers[2])), content[line][column:pos])
 doc_comment = content[line][column:]
 line += 1
 while (line < len(content)):
  pos = content[line].find(markers[2])
  if (pos == (-1)):
   doc_comment += ('\n' if (content[line][align_column:] == '') else content[line][align_column:])
  else:
   doc_comment += content[line][align_column:pos]
   return (line, (pos + len(markers[2])), doc_comment)
  line += 1
 return None

def _extract_doc_comment_simple ( content , line , column , markers ) : align_column = ( column - len ( markers [ 0 ] ) ) pos = content [ line ] . find ( markers [ 2 ] , column ) if ( pos != ( - 1 ) ) : return ( line , ( pos + len ( markers [ 2 ] ) ) , content [ line ] [ column : pos ] ) doc_comment = content [ line ] [ column : ] line += 1 while ( line < len ( content ) ) : pos = content [ line ] . find ( markers [ 2 ] ) if ( pos == ( - 1 ) ) : doc_comment += ( '\n' if ( content [ line ] [ align_column : ] == '' ) else content [ line ] [ align_column : ] ) else : doc_comment += content [ line ] [ align_column : pos ] return ( line , ( pos + len ( markers [ 2 ] ) ) , doc_comment ) line += 1 return None
extract a documentation that starts at given beginning with simple layout .