parameters: (self,aList1, aList2, string1, string2)
return_statement: return differences
docstring: Searches for differences between two modules of the same kind
docstring_summary: Searches for differences between two modules of the same kind
docstring_tokens: Searches for differences between two modules of the same kind
function: def list_diff(self,aList1, aList2, string1, string2):
          "Searches for differences between two modules of the same kind"
          differences=[]
          for i in range(2,len(aList1)):
              for j in range(2,len(aList2)):
                  if (i==j) and (aList1[i]!=aList2[j]):
                      if aList1[i][:(aList1[i].index('=')+1)] == aList2[j][:(aList2[j].index('=')+1)]:
                          if self.verbose==str(2) or self.verbose==str(1):
                              str1 = aList1[i][2:aList1[i].index('=')+1] + aList1[i][aList1[i].index('=')+1:]+'  ['+ string1+']'
                              str2 = len(aList1[i][2:aList1[i].index('=')+1])*' '+aList2[j][aList2[j].index('=')+1:]+'  ['+string2+']'
                              print(str1,'\n',str2,'\n')
                              differences.append(str1)
                              differences.append(str2)
                     
          return differences
function_tokens: def list_diff ( self , aList1 , aList2 , string1 , string2 ) : differences = [ ] for i in range ( 2 , len ( aList1 ) ) : for j in range ( 2 , len ( aList2 ) ) : if ( i == j ) and ( aList1 [ i ] != aList2 [ j ] ) : if aList1 [ i ] [ : ( aList1 [ i ] . index ( '=' ) + 1 ) ] == aList2 [ j ] [ : ( aList2 [ j ] . index ( '=' ) + 1 ) ] : if self . verbose == str ( 2 ) or self . verbose == str ( 1 ) : str1 = aList1 [ i ] [ 2 : aList1 [ i ] . index ( '=' ) + 1 ] + aList1 [ i ] [ aList1 [ i ] . index ( '=' ) + 1 : ] + '  [' + string1 + ']' str2 = len ( aList1 [ i ] [ 2 : aList1 [ i ] . index ( '=' ) + 1 ] ) * ' ' + aList2 [ j ] [ aList2 [ j ] . index ( '=' ) + 1 : ] + '  [' + string2 + ']' print ( str1 , '\n' , str2 , '\n' ) differences . append ( str1 ) differences . append ( str2 ) return differences