#NEWLINE# def __format_authors( self , author_list , limit = 3 ) : #NEWLINE# #INDENT# author_temp = [ ] #NEWLINE# for ( i , author ) in enumerate ( author_list ) : #NEWLINE# #INDENT# if ( i >= limit ) : #NEWLINE# #INDENT# break #NEWLINE# #UNINDENT# author_temp . append ( ', ' . join ( ( author [ i ] for i in ( 'family' , 'given' ) ) ) ) #NEWLINE# #UNINDENT# output = '; ' . join ( author_temp ) #NEWLINE# if ( len ( author_list ) > limit ) : #NEWLINE# #INDENT# output += ' et al.' #NEWLINE# #UNINDENT# return output